You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by kr...@apache.org on 2016/10/27 20:09:13 UTC

[09/50] [abbrv] lucene-solr:jira/solr-8593: LUCENE-7462: Fix LegacySortedSetDocValuesWrapper to reset `upTo` when calling `advanceExact`.

LUCENE-7462: Fix LegacySortedSetDocValuesWrapper to reset `upTo` when calling `advanceExact`.


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

Branch: refs/heads/jira/solr-8593
Commit: 97339e2cacc308c3689d1cd16dfbc44ebea60788
Parents: e1b0693
Author: Adrien Grand <jp...@gmail.com>
Authored: Mon Oct 24 15:43:21 2016 +0200
Committer: Adrien Grand <jp...@gmail.com>
Committed: Mon Oct 24 15:44:40 2016 +0200

----------------------------------------------------------------------
 .../apache/lucene/index/LegacySortedNumericDocValuesWrapper.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/97339e2c/lucene/core/src/java/org/apache/lucene/index/LegacySortedNumericDocValuesWrapper.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/index/LegacySortedNumericDocValuesWrapper.java b/lucene/core/src/java/org/apache/lucene/index/LegacySortedNumericDocValuesWrapper.java
index cfb61e3..a75274e 100644
--- a/lucene/core/src/java/org/apache/lucene/index/LegacySortedNumericDocValuesWrapper.java
+++ b/lucene/core/src/java/org/apache/lucene/index/LegacySortedNumericDocValuesWrapper.java
@@ -77,6 +77,7 @@ public final class LegacySortedNumericDocValuesWrapper extends SortedNumericDocV
   public boolean advanceExact(int target) throws IOException {
     docID = target;
     values.setDocument(docID);
+    upto = 0;
     return values.count() != 0;
   }