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 2011/07/24 17:53:51 UTC

svn commit: r1150424 - /lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java

Author: rmuir
Date: Sun Jul 24 15:53:50 2011
New Revision: 1150424

URL: http://svn.apache.org/viewvc?rev=1150424&view=rev
Log:
SOLR-2673: clear index in startup

Modified:
    lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java

Modified: lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java?rev=1150424&r1=1150423&r2=1150424&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java (original)
+++ lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/search/function/TestFunctionQuery.java Sun Jul 24 15:53:50 2011
@@ -41,6 +41,11 @@ public class TestFunctionQuery extends S
     initCore("solrconfig-functionquery.xml","schema11.xml");
   }
 
+  @Override
+  public void setUp() throws Exception {
+    super.setUp();
+    clearIndex();
+  }
   
   String base = "external_foo_extf";
   static long start = System.currentTimeMillis();