Tommaso Teofili created OAK-2515:
------------------------------------
Summary: SolrQueryIndex blindly executes a 2nd query to check
there are no more results
Key: OAK-2515
URL: https://issues.apache.org/jira/browse/OAK-2515
Project: Jackrabbit Oak
Issue Type: Bug
Affects Versions: 1.1.6, 1.0.11
Reporter: Tommaso Teofili
Assignee: Tommaso Teofili
Fix For: 1.0.12, 1.1.7
{{SolrQueryIndex#loadDocs}} doesn't take into account Solr's
{{SolrDocumentList#getNumFound}} value to check if another query to get further
results when the doc queue is empty is needed and blindly executes a second
query.
This is obviously wrong as it wastes time and resources doing an unneeded query
to Solr.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)