SOLR-9549: Fix bug in advancing docValues

This commit is contained in:
Joel 2016-09-22 07:58:25 -04:00
parent eabb05f7fd
commit 75e69c5198
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ public class TextLogisticRegressionQParserPlugin extends QParserPlugin {
public void collect(int doc) throws IOException{ public void collect(int doc) throws IOException{
int valuesDocID = leafOutcomeValue.docID(); int valuesDocID = leafOutcomeValue.docID();
if (valuesDocID < doc) { if (valuesDocID < doc) {
valuesDocID = leafOutcomeValue.advance(valuesDocID); valuesDocID = leafOutcomeValue.advance(doc);
} }
int outcome; int outcome;
if (valuesDocID == doc) { if (valuesDocID == doc) {