lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1416705 - in /lucene/dev/branches/lucene4547/lucene/core/src: java/org/apache/lucene/codecs/lucene41/Lucene41Codec.java test/org/apache/lucene/TestDemoDocValue.java
Date Mon, 03 Dec 2012 22:30:20 GMT
Author: rmuir
Date: Mon Dec  3 22:30:19 2012
New Revision: 1416705

URL: http://svn.apache.org/viewvc?rev=1416705&view=rev
Log:
clean up the hack temporarily

Modified:
    lucene/dev/branches/lucene4547/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41Codec.java
    lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/TestDemoDocValue.java

Modified: lucene/dev/branches/lucene4547/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41Codec.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene4547/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41Codec.java?rev=1416705&r1=1416704&r2=1416705&view=diff
==============================================================================
--- lucene/dev/branches/lucene4547/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41Codec.java
(original)
+++ lucene/dev/branches/lucene4547/lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41Codec.java
Mon Dec  3 22:30:19 2012
@@ -140,11 +140,10 @@ public class Lucene41Codec extends Codec
   
   @Override
   public SimpleDocValuesFormat simpleDocValuesFormat() {
-    // nocommit tests seem to fail if we use this:
-    //return simpleDocValuesFormat;
-    return null;
+    return simpleDocValuesFormat;
   }
 
   private final PostingsFormat defaultFormat = PostingsFormat.forName("Lucene41");
-  private final SimpleDocValuesFormat defaultDVFormat = SimpleDocValuesFormat.forName("Lucene41");
+  // nocommit
+  private final SimpleDocValuesFormat defaultDVFormat = SimpleDocValuesFormat.forName("SimpleText");
 }

Modified: lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/TestDemoDocValue.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/TestDemoDocValue.java?rev=1416705&r1=1416704&r2=1416705&view=diff
==============================================================================
--- lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/TestDemoDocValue.java
(original)
+++ lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/TestDemoDocValue.java
Mon Dec  3 22:30:19 2012
@@ -53,7 +53,7 @@ import org.junit.Ignore;
  * to this class.
  */
 // nocommit don't suppress any:
-@SuppressCodecs({"Asserting", "Direct", "Memory", "MockRandom", "Lucene40", "Compressing",
"Lucene41"})
+@SuppressCodecs({"Asserting", "Direct", "Memory", "MockRandom", "Lucene40", "Compressing"})
 public class TestDemoDocValue extends LuceneTestCase {
 
   public void testDemoNumber() throws IOException {



Mime
View raw message