You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2014/01/16 16:17:12 UTC

svn commit: r1558831 - /lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/spelling/suggest/TestFreeTextSuggestions.java

Author: rmuir
Date: Thu Jan 16 15:17:12 2014
New Revision: 1558831

URL: http://svn.apache.org/r1558831
Log:
SOLR-5631: don't use 3.x codec in this test (this suggester requires statistics it does not provide)

Modified:
    lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/spelling/suggest/TestFreeTextSuggestions.java

Modified: lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/spelling/suggest/TestFreeTextSuggestions.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/spelling/suggest/TestFreeTextSuggestions.java?rev=1558831&r1=1558830&r2=1558831&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/spelling/suggest/TestFreeTextSuggestions.java (original)
+++ lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/spelling/suggest/TestFreeTextSuggestions.java Thu Jan 16 15:17:12 2014
@@ -17,10 +17,12 @@ package org.apache.solr.spelling.suggest
  * limitations under the License.
  */
 
+import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
 import org.apache.solr.SolrTestCaseJ4;
 import org.apache.solr.common.params.SpellingParams;
 import org.junit.BeforeClass;
 
+@SuppressCodecs("Lucene3x")
 public class TestFreeTextSuggestions extends SolrTestCaseJ4 {
   static final String URI = "/free_text_suggest";
   
@@ -56,4 +58,4 @@ public class TestFreeTextSuggestions ext
     );
   }
   
-}
\ No newline at end of file
+}