-
Notifications
You must be signed in to change notification settings - Fork 36
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 and add queries that use Lucene specific optimizations #1
Comments
added a query that benefits heavily from the two step queries. |
@fulmicoton any deeper description about what is exactly going on here? (link to some lucene documentation is enough). |
Right... So Lucene introduced two step queries a long time ago. The idea is that scorer can express that they have some notion of This is typically the case for a phrase query. Now something interesting happens when running the query If you scroll down in the benchmark that's precisely why added the query It would be interesting to find other kinds of examples |
Thanks, and is tantivy planning to add this? |
Yes at one point. But right now, I don't think the extra complexity is worth the performance boost on specific queries. If a performance critical user shows up, I'll be happy to reproritize. It's however a good idea to list these corner case where Lucene is faster than tantivy and show them in the bench. |
No description provided.
The text was updated successfully, but these errors were encountered: