Giter Club home page Giter Club logo

rethink-autocomplete's Introduction

Rethink Autocomplete

https://drive.google.com/file/d/1t-h0blhJePqqwrOg7O5L3AV84yFnSRBv/view?usp=sharing

Due to time constraint, I've react-search-ui, a powerful search engine powered by lucene, with an intuitive front-end. react-search-ui has a lot of additional features such as fitering and sorting. To keep the code size small, I've stripped away a lot of the additional features.

In my initial write-ups i suggested using MySQL for storing the NGram similarity. After some study I realized that it is not very effective in storing big matrix. Using an infrastructure such as Hadoop with HBase might be a better choice.

Assumptions

(altered according to time constraint)

  • Start to suggest uppon entering one character

Scope

Must have:

  • Suggestion on each character - done
  • Search in both titles and description text - done
  • Test Coverage - not started

Nice to have:

  • analytics on search pattern

Not in scope:

  • add or update database

Running locally

  • FORK this repo
  • cd backend
  • npm install & npm run dev
  • open localhost:3000
  • enjoy

TODO

(in addition to scope)

  • benchmark different indexing stragies: Edge-Ngram vs Prefix Query vs Completion Suggester.

rethink-autocomplete's People

Contributors

cherchercher avatar

Watchers

James Cloos avatar  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.