Apache Lucene open-source search software
SOLR-9549: Fix bug in advancing docValues
Joel75e69c5198c0
diff --git a/solr/core/src/java/org/apache/solr/search/TextLogisticRegressionQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/TextLogisticRegressionQParserPlugin.javaindex 96f869faa8a..e1d3b7b8479 100644--- a/solr/core/src/java/org/apache/solr/search/TextLogisticRegressionQParserPlugin.java+++ b/solr/core/src/java/org/apache/solr/search/TextLogisticRegressionQParserPlugin.java@@ -153,7 +153,7 @@ public class TextLogisticRegressionQParserPlugin extends QParserPlugin {public void collect(int doc) throws IOException{int valuesDocID = leafOutcomeValue.docID();if (valuesDocID < doc) {- valuesDocID = leafOutcomeValue.advance(valuesDocID);+ valuesDocID = leafOutcomeValue.advance(doc);}int outcome;if (valuesDocID == doc) {