You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jb...@apache.org on 2016/09/22 12:07:59 UTC

lucene-solr:master: SOLR-9549: Fix bug in advancing docValues

Repository: lucene-solr
Updated Branches:
  refs/heads/master eabb05f7f -> 75e69c519


SOLR-9549: Fix bug in advancing docValues


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/75e69c51
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/75e69c51
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/75e69c51

Branch: refs/heads/master
Commit: 75e69c5198c02e6635eed274b03ea759ef1c4818
Parents: eabb05f
Author: Joel <jo...@alfresco.com>
Authored: Thu Sep 22 07:58:25 2016 -0400
Committer: Joel <jo...@alfresco.com>
Committed: Thu Sep 22 08:05:47 2016 -0400

----------------------------------------------------------------------
 .../apache/solr/search/TextLogisticRegressionQParserPlugin.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/75e69c51/solr/core/src/java/org/apache/solr/search/TextLogisticRegressionQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/TextLogisticRegressionQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/TextLogisticRegressionQParserPlugin.java
index 96f869f..e1d3b7b 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) {