mirror of https://github.com/apache/lucene.git
SOLR-9549: Fix bug in advancing docValues
This commit is contained in:
parent
eabb05f7fd
commit
75e69c5198
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue