Giter Site home page Giter Site logo

search_as_you_type-using-sql's Introduction

Search As You Type Using SQL

Search-as-you-type has become an essential feature for online marketplaces, search engines, recommendation systems, etc., as it improves user engagement and helps users find relevant information quickly. Search-as-you-type or autocomplete predicts the search key in real time while users type their search queries. Many applications like Google, Amazon, Netflix, etc. offer this feature to help customers find their search results quickly and easily.

Our aim is to implement the prototype solution presented in the paper, which utilizes the full potential of the query engine and auxiliary tables to improve search performance.

Getting Started

Pre-requisites

  • Python and pip
  • MySQL Workbench

Installing

pip install tkinter
pip install mysql-connector-python
pip install python-Levenshtein
pip install rake-nltk

Executing program

  1. Run all the queries from db_scripts.sql file to create schemas in MySQL Workbench. You can use the Edit table section of UI to populate original DBPL prototype table.
  2. To get information about command-line parameters please use --help option as shown below.
python main.py --help
  1. In order to populate tables from the DBLP2.csv file and also execute the search functionality, 4 command-line parameters are to be passed as shown below.
python main.py --populateTables hostIP username password
--populateTables - Populates the database tables
hostIP           - The host IP of database connection
username         - The username of database connection
password         - Password of database connection
For example, python main.py --populateTables localhost root Mydata@123
  1. In order to only execute the search functionality without populating database tables, 3 command-line parameters are to be passed as shown below.
python main.py hostIP username password
  1. If a set of new records are inserted using UI, then step 3 needs to be excuted again as well to populate the information of new record in auxiliary tables.

Authors

  1. Charul Rathore [45% code, 45% report and presentation]
  2. Durga Muralidharan [45% code, 45% report and presentation]
  3. Swati SVM [10% code, 10% report and presentation]

Acknowledgments

Reference Paper

search_as_you_type-using-sql's People

Contributors

charulrathore avatar durgamurali avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.