-
Notifications
You must be signed in to change notification settings - Fork 20
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
Lucene & limit #123
Comments
This is intended because a The question is: Is the |
Limit is respected but not pushed down to the Lucene index, even for simple queries where it would make sense |
So this means the result of the query as a whole is correct, but lucene returns unnecessarily many results at an intermediate stage which have to be discarded afterward? |
Yes, this is visible in the logs:
|
So this is a performance issue I take it? I'll have a look! |
I have made some changes on Could you quickly test, if there is a performance improvement using that version? |
Much faster, thanks! |
Lucene currently does not propagate a limit to the underlying
IndexSearcher
, see:cottontaildb/cottontaildb-dbms/src/main/kotlin/org/vitrivr/cottontail/dbms/index/lucene/LuceneIndex.kt
Line 481 in ae750e7
This was never noticed because Cineast did not tell cottontail, see: vitrivr/cineast#312
The text was updated successfully, but these errors were encountered: