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

Full-text search #92

Closed
vladimiry opened this issue Jan 7, 2019 · 5 comments

Comments

Projects
None yet
1 participant
@vladimiry
Copy link
Owner

commented Jan 7, 2019

The time has come to make it happen. I've started the research and playing around already.

@vladimiry

This comment has been minimized.

Copy link
Owner Author

commented Jan 8, 2019

I tried to keep the search index close to the database but it's not going to work well since the index is 3-5x times bigger than the database itself. So the full database serialization takes time, besides the main process might get blocked by expensive serialization/indexing/search actions. So going to try maintaining all the expensive indexing operations in a separate process and save the index in an individual encrypted file like database-index.bin.

@vladimiry

This comment has been minimized.

Copy link
Owner Author

commented Jan 8, 2019

Since indexing works quite fast I'm also considering not persisting the search index at all but just spawn the separate process which will build the index on app start and keep it up to date while the app is started, so completely in memory only. The implementation would be much simpler and somehow more secure (no addition data persisting).

@vladimiry

This comment has been minimized.

Copy link
Owner Author

commented Jan 15, 2019

The initial implementation is going to be released soon.

search

@vladimiry

This comment has been minimized.

Copy link
Owner Author

commented Jan 16, 2019

Resolved with v2.2.0 release.

@vladimiry

This comment has been minimized.

Copy link
Owner Author

commented Mar 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.