lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1654556 - in /lucene/dev/branches/lucene_solr_5_0: ./ lucene/ lucene/core/ lucene/core/src/test/org/apache/lucene/index/TestDuelingCodecs.java
Date Sat, 24 Jan 2015 16:42:02 GMT
Author: mikemccand
Date: Sat Jan 24 16:42:01 2015
New Revision: 1654556

URL: http://svn.apache.org/r1654556
Log:
fix test bug due to sneaky Document reuse by LineFileDocs

Modified:
    lucene/dev/branches/lucene_solr_5_0/   (props changed)
    lucene/dev/branches/lucene_solr_5_0/lucene/   (props changed)
    lucene/dev/branches/lucene_solr_5_0/lucene/core/   (props changed)
    lucene/dev/branches/lucene_solr_5_0/lucene/core/src/test/org/apache/lucene/index/TestDuelingCodecs.java

Modified: lucene/dev/branches/lucene_solr_5_0/lucene/core/src/test/org/apache/lucene/index/TestDuelingCodecs.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_5_0/lucene/core/src/test/org/apache/lucene/index/TestDuelingCodecs.java?rev=1654556&r1=1654555&r2=1654556&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_5_0/lucene/core/src/test/org/apache/lucene/index/TestDuelingCodecs.java
(original)
+++ lucene/dev/branches/lucene_solr_5_0/lucene/core/src/test/org/apache/lucene/index/TestDuelingCodecs.java
Sat Jan 24 16:42:01 2015
@@ -135,6 +135,7 @@ public class TestDuelingCodecs extends L
       // grab the title and add some SortedSet instances for fun
       String title = document.get("titleTokenized");
       String split[] = title.split("\\s+");
+      document.removeFields("sortedset");
       for (String trash : split) {
         document.add(new SortedSetDocValuesField("sortedset", new BytesRef(trash)));
       }



Mime
View raw message