lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r1209629 - /lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/Test2BTerms.java
Date Fri, 02 Dec 2011 18:35:38 GMT
Author: gsingers
Date: Fri Dec  2 18:35:38 2011
New Revision: 1209629

URL: http://svn.apache.org/viewvc?rev=1209629&view=rev
Log:
since we are using a TokenStream, we can't store

Modified:
    lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/Test2BTerms.java

Modified: lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/Test2BTerms.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/Test2BTerms.java?rev=1209629&r1=1209628&r2=1209629&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/Test2BTerms.java (original)
+++ lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/Test2BTerms.java Fri Dec  2 18:35:38
2011
@@ -177,7 +177,7 @@ public class Test2BTerms extends LuceneT
       Document doc = new Document();
       final MyTokenStream ts = new MyTokenStream(random, TERMS_PER_DOC);
 
-      FieldType customType = new FieldType(TextField.TYPE_STORED);
+      FieldType customType = new FieldType(TextField.TYPE_UNSTORED);
       customType.setIndexOptions(IndexOptions.DOCS_ONLY);
       customType.setOmitNorms(true);
       Field field = new Field("field", ts, customType);



Mime
View raw message