From fdff9344de817d60f211a2482184e5d63f60e029 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Tue, 16 Nov 2010 05:31:51 +0000 Subject: [PATCH] LUCENE-2631: only change ord if we are changing the reader gen git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035535 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/src/java/org/apache/lucene/search/FieldComparator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/src/java/org/apache/lucene/search/FieldComparator.java b/lucene/src/java/org/apache/lucene/search/FieldComparator.java index 6ff4e3a8df0..532765bee73 100644 --- a/lucene/src/java/org/apache/lucene/search/FieldComparator.java +++ b/lucene/src/java/org/apache/lucene/search/FieldComparator.java @@ -1130,8 +1130,8 @@ public abstract class FieldComparator { // exact value match bottomSameReader = true; readerGen[bottomSlot] = currentReaderGen; + ords[bottomSlot] = bottomOrd; } - ords[bottomSlot] = bottomOrd; } } }