-
Notifications
You must be signed in to change notification settings - Fork 49
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
Full-text search #40
Comments
@joepio may be https://endler.dev/2019/tinysearch/ is a better approach? |
Thanks for sharing, @AlexMikhalev! I think tinysearch might be a bit too static for this usecase - the index should be updated very frequently (every time a user creates a commit). I'm currently considering Tantivy, a lucene alternative, as it can be fully embedded and seems really fast. |
qualities that I appreciate in web-based search engines are a) support for offline search (which also means less round-trips and less tracking while online), and b) support for OpenSearch For a) I generally like lunr - and seem to recall that there's a crate integrating that. |
yes, not the original Lunr but a derivative: https://crates.io/crates/elasticlunr-rs |
That one's also statically indexed, which is not a good option for atomic-server, I'm afraid. I need incremental indexing, so new commits are also searchable as users update stuff. |
Sonic is also statically re-building fst trees - they don't support incremental indexing either, but sonic hides it from the user. |
Hmm, interesting. Maybe if indexing is fast enough (takes <60secs for 1gb atomic data) then we could do it max once every minute. |
Do you see atomic server deployed on server or "at the edge" - at users device? if it's on users device it's allready "offline first". |
|
Allrighty, tests are passing, time to release a new version! It's pretty decent, but there's still room for improvement. See #210 for some of the things that can be improved upon. |
Being able to search through data inside your personal atomic server seems like a nice feature to have. In this issue, I'd like to explore the requirements and some possible approaches for implementing a full text search service.
Wishes
Approaches / implementation ideas
The text was updated successfully, but these errors were encountered: