lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r1035538 - /lucene/dev/trunk/solr/src/java/org/apache/solr/search/MissingStringLastComparatorSource.java
Date Tue, 16 Nov 2010 05:35:27 GMT
Author: yonik
Date: Tue Nov 16 05:35:27 2010
New Revision: 1035538

URL: http://svn.apache.org/viewvc?rev=1035538&view=rev
Log:
LUCENE-2631: only change ord if we are changing the reader gen

Modified:
    lucene/dev/trunk/solr/src/java/org/apache/solr/search/MissingStringLastComparatorSource.java

Modified: lucene/dev/trunk/solr/src/java/org/apache/solr/search/MissingStringLastComparatorSource.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/src/java/org/apache/solr/search/MissingStringLastComparatorSource.java?rev=1035538&r1=1035537&r2=1035538&view=diff
==============================================================================
--- lucene/dev/trunk/solr/src/java/org/apache/solr/search/MissingStringLastComparatorSource.java
(original)
+++ lucene/dev/trunk/solr/src/java/org/apache/solr/search/MissingStringLastComparatorSource.java
Tue Nov 16 05:35:27 2010
@@ -190,8 +190,8 @@ class TermOrdValComparator_SML extends F
             // exact value match
             bottomSameReader = true;
             readerGen[bottomSlot] = currentReaderGen;
+            ords[bottomSlot] = bottomOrd;
           }
-          ords[bottomSlot] = bottomOrd;
         }
       }
     }



Mime
View raw message