-
Notifications
You must be signed in to change notification settings - Fork 791
SOLR-17985: Speed up no-rows distributed queries #3849
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
SOLR-17985: Speed up no-rows distributed queries #3849
Conversation
dsmiley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How might this be tested? Is it observable / non-invasive?
solr/core/src/java/org/apache/solr/handler/component/QueryComponent.java
Outdated
Show resolved
Hide resolved
So I can test that Solr isn't collecting scores when rows=0. But I can't necessarily test that it's using the exact right Collector , however the fact that Solr isn't collecting scores really does kind of tell us it is the correct collector... But I guess it does make sure this exact change is correct. If we don't ask for scores, scores will not be collected. |
dsmiley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the test; good enough for me.
(cherry picked from commit a72691c)
(cherry picked from commit a72691c)
(cherry picked from commit a72691c)
(cherry picked from commit a72691c)
https://issues.apache.org/jira/browse/SOLR-17985