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

Method to speed up fulltext search indexes #43

Open
michwill opened this issue May 10, 2016 · 0 comments
Open

Method to speed up fulltext search indexes #43

michwill opened this issue May 10, 2016 · 0 comments

Comments

@michwill
Copy link
Contributor

Since all text ranking is approximate anyway, we can save something like int(log(rank)/log(k)) per word (where k is constant). And we can have, say, 20-50 of these "rank buckets". So, word rank would be OOBTree(logranks -> IITreeSet(docids)). This is needed to make indexing new documents faster. It is especially relevant when working with backups: much fewer amount of info should be read from the disk when indexing a bulk of new documents in this case

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

1 participant