duckbrain / ldss

Lucky Duck Scripture Software: Gospel Library re-implementation for reading the scriptures
MIT License
5 stars 1 forks source link

Search Engine Index #2

Open duckbrain opened 7 years ago

duckbrain commented 7 years ago

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 commented 7 years ago

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

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