Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search Engine Index #2

Open
duckbrain opened this issue May 23, 2017 · 1 comment
Open

Search Engine Index #2

duckbrain opened this issue May 23, 2017 · 1 comment
Assignees

Comments

@duckbrain
Copy link
Owner

Search is fast if limited one or a few books, but searching over the entire catalog is time consuming. An index should help with that.

This will require that the index be built when the books are being downloaded. There are currently no operations that occur on download of a book. This will have to change.

The index should be stored in an SQLite database next the catalog JSON file. eg: ~/.ldss/eng/index.db

@truesilver92 truesilver92 self-assigned this May 30, 2017
@truesilver92
Copy link
Collaborator

truesilver92 commented May 30, 2017

There are many ways to improve the search, but a couple we really should consider including are:

  • stemming (probably using porter stemmer)
  • removal of stop words (and creation of stop word list)

maybe doing spell check, though browsers and phones have this as a feature already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants