lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1211182 - in /lucene/dev/trunk: dev-tools/eclipse/ lucene/contrib/misc/src/java/org/apache/lucene/index/codecs/ lucene/contrib/misc/src/resources/ lucene/contrib/misc/src/test/org/apache/lucene/index/codecs/ lucene/src/java/org/apache/luce...
Date Tue, 06 Dec 2011 21:39:49 GMT
Author: rmuir
Date: Tue Dec  6 21:39:48 2011
New Revision: 1211182

URL: http://svn.apache.org/viewvc?rev=1211182&view=rev
Log:
LUCENE-3617: move AppendingCodec to core

Added:
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/codecs/appending/
      - copied from r1211167, lucene/dev/trunk/lucene/contrib/misc/src/java/org/apache/lucene/index/codecs/appending/
    lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/codecs/appending/
      - copied from r1211167, lucene/dev/trunk/lucene/contrib/misc/src/test/org/apache/lucene/index/codecs/appending/
Removed:
    lucene/dev/trunk/lucene/contrib/misc/src/java/org/apache/lucene/index/codecs/
    lucene/dev/trunk/lucene/contrib/misc/src/resources/
    lucene/dev/trunk/lucene/contrib/misc/src/test/org/apache/lucene/index/codecs/
Modified:
    lucene/dev/trunk/dev-tools/eclipse/dot.classpath
    lucene/dev/trunk/lucene/src/resources/META-INF/services/org.apache.lucene.index.codecs.Codec
    lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneTestCase.java

Modified: lucene/dev/trunk/dev-tools/eclipse/dot.classpath
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/eclipse/dot.classpath?rev=1211182&r1=1211181&r2=1211182&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/eclipse/dot.classpath (original)
+++ lucene/dev/trunk/dev-tools/eclipse/dot.classpath Tue Dec  6 21:39:48 2011
@@ -13,7 +13,6 @@
 	<classpathentry kind="src" path="lucene/contrib/memory/src/java"/>
 	<classpathentry kind="src" path="lucene/contrib/memory/src/test"/>
 	<classpathentry kind="src" path="lucene/contrib/misc/src/java"/>
-	<classpathentry kind="src" output="bin.misc" path="lucene/contrib/misc/src/resources"/>
 	<classpathentry kind="src" path="lucene/contrib/misc/src/test"/>
 	<classpathentry kind="src" path="lucene/contrib/sandbox/src/java"/>
 	<classpathentry kind="src" path="lucene/contrib/sandbox/src/test"/>

Modified: lucene/dev/trunk/lucene/src/resources/META-INF/services/org.apache.lucene.index.codecs.Codec
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/resources/META-INF/services/org.apache.lucene.index.codecs.Codec?rev=1211182&r1=1211181&r2=1211182&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/resources/META-INF/services/org.apache.lucene.index.codecs.Codec
(original)
+++ lucene/dev/trunk/lucene/src/resources/META-INF/services/org.apache.lucene.index.codecs.Codec
Tue Dec  6 21:39:48 2011
@@ -16,3 +16,4 @@
 org.apache.lucene.index.codecs.lucene40.Lucene40Codec
 org.apache.lucene.index.codecs.lucene3x.Lucene3xCodec
 org.apache.lucene.index.codecs.simpletext.SimpleTextCodec
+org.apache.lucene.index.codecs.appending.AppendingCodec

Modified: lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneTestCase.java?rev=1211182&r1=1211181&r2=1211182&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneTestCase.java
(original)
+++ lucene/dev/trunk/lucene/src/test-framework/java/org/apache/lucene/util/LuceneTestCase.java
Tue Dec  6 21:39:48 2011
@@ -40,6 +40,7 @@ import org.apache.lucene.document.FieldT
 import org.apache.lucene.index.*;
 import org.apache.lucene.index.codecs.Codec;
 import org.apache.lucene.index.codecs.PostingsFormat;
+import org.apache.lucene.index.codecs.appending.AppendingCodec;
 import org.apache.lucene.index.codecs.lucene40.Lucene40Codec;
 import org.apache.lucene.index.codecs.preflexrw.PreFlexRWCodec;
 import org.apache.lucene.index.codecs.simpletext.SimpleTextCodec;
@@ -286,6 +287,8 @@ public abstract class LuceneTestCase ext
       PREFLEX_IMPERSONATION_IS_ACTIVE = true;
     } else if ("SimpleText".equals(TEST_CODEC) || ("random".equals(TEST_CODEC) &&
randomVal == 9)) {
       codec = new SimpleTextCodec();
+    } else if ("Appending".equals(TEST_CODEC) || ("random".equals(TEST_CODEC) &&
randomVal == 8)) {
+      codec = new AppendingCodec();
     } else if (!"random".equals(TEST_CODEC)) {
       codec = Codec.forName(TEST_CODEC);
     } else if ("random".equals(TEST_POSTINGSFORMAT)) {



Mime
View raw message