You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2016/07/28 13:28:00 UTC

[1/2] lucene-solr:master: Add missing update of `lastDocId` in AssertingPointsFormat.

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 8247f9f0c -> c95eef0d2
  refs/heads/master c2db9fae2 -> bc29a3d7e


Add missing update of `lastDocId` in AssertingPointsFormat.


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

Branch: refs/heads/master
Commit: bc29a3d7ed389485a3a1f9d86017f13b324e73ce
Parents: c2db9fa
Author: Adrien Grand <jp...@gmail.com>
Authored: Thu Jul 28 15:26:51 2016 +0200
Committer: Adrien Grand <jp...@gmail.com>
Committed: Thu Jul 28 15:27:14 2016 +0200

----------------------------------------------------------------------
 .../org/apache/lucene/codecs/asserting/AssertingPointsFormat.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/bc29a3d7/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java
----------------------------------------------------------------------
diff --git a/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java b/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java
index c3c672b..0bbf2c6 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java
@@ -126,6 +126,7 @@ public final class AssertingPointsFormat extends PointsFormat {
           assert false: "point values are out of order";
         }
         System.arraycopy(packedValue, 0, lastDocValue, 0, bytesPerDim);
+        lastDocID = docID;
       }
       in.visit(docID, packedValue);
     }


[2/2] lucene-solr:branch_6x: Add missing update of `lastDocId` in AssertingPointsFormat.

Posted by jp...@apache.org.
Add missing update of `lastDocId` in AssertingPointsFormat.


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

Branch: refs/heads/branch_6x
Commit: c95eef0d2a41e00a4e9c8332988f8971f78a5136
Parents: 8247f9f
Author: Adrien Grand <jp...@gmail.com>
Authored: Thu Jul 28 15:26:51 2016 +0200
Committer: Adrien Grand <jp...@gmail.com>
Committed: Thu Jul 28 15:27:41 2016 +0200

----------------------------------------------------------------------
 .../org/apache/lucene/codecs/asserting/AssertingPointsFormat.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c95eef0d/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java
----------------------------------------------------------------------
diff --git a/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java b/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java
index c3c672b..0bbf2c6 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingPointsFormat.java
@@ -126,6 +126,7 @@ public final class AssertingPointsFormat extends PointsFormat {
           assert false: "point values are out of order";
         }
         System.arraycopy(packedValue, 0, lastDocValue, 0, bytesPerDim);
+        lastDocID = docID;
       }
       in.visit(docID, packedValue);
     }