Details
Description
The following could be simplified, on line 249:
int dvDocID = numericDocValues.docID(); if (dvDocID < doc) { dvDocID = numericDocValues.advance(doc); } long value; if (dvDocID == doc) { value = numericDocValues.longValue(); } else { value = 0; }
To:
long value = 0; if (numericDocValues.advanceExact(doc)) { value = numericDocValues.longValue(); }
Attachments
Attachments
Issue Links
- breaks
-
SOLR-11974 TestCollapseQParserPlugin.testStringCollapse() failure
- Resolved
- links to