From 5d7f145e1638f1234fd4cfcef949bd4f018eb60c Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Sat, 25 Dec 2010 00:27:55 +0000 Subject: [PATCH] tests: make optimize test use standard config git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1052733 13f79535-47bb-0310-9956-ffa450edef68 --- .../DirectUpdateHandlerOptimizeTest.java | 3 +- .../solr/conf/solrconfig-duh-optimize.xml | 413 ------------------ 2 files changed, 2 insertions(+), 414 deletions(-) delete mode 100644 solr/src/test/test-files/solr/conf/solrconfig-duh-optimize.xml diff --git a/solr/src/test/org/apache/solr/update/DirectUpdateHandlerOptimizeTest.java b/solr/src/test/org/apache/solr/update/DirectUpdateHandlerOptimizeTest.java index 647c1004d6e..768ca6ccc15 100644 --- a/solr/src/test/org/apache/solr/update/DirectUpdateHandlerOptimizeTest.java +++ b/solr/src/test/org/apache/solr/update/DirectUpdateHandlerOptimizeTest.java @@ -36,7 +36,8 @@ public class DirectUpdateHandlerOptimizeTest extends AbstractSolrTestCase { } public String getSolrConfigFile() { - return "solrconfig-duh-optimize.xml"; + // return "solrconfig-duh-optimize.xml"; + return "solrconfig.xml"; } diff --git a/solr/src/test/test-files/solr/conf/solrconfig-duh-optimize.xml b/solr/src/test/test-files/solr/conf/solrconfig-duh-optimize.xml deleted file mode 100644 index cff9b91de45..00000000000 --- a/solr/src/test/test-files/solr/conf/solrconfig-duh-optimize.xml +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - - - ${tests.luceneMatchVersion:LUCENE_CURRENT} - - ${solr.data.dir:./solr/data} - - - - - - - - - true - - 1000 - 2 - - - - - 2147483647 - 10000 - 1000 - 10000 - - - - - - - - 1000 - 10000 - - single - - - - - true - 1000 - 2 - 2147483647 - 10000 - - true - - - - - - - - - - - - - - - - - 1024 - - - - - - - - - - - true - - - - - true - - 10 - - - - - - - - - - - - - - - - - - - - - - - - - - - 0.01 - - text^0.5 features_t^1.0 subject^1.4 title_stemmed^2.0 - - - text^0.2 features_t^1.1 subject^1.4 title_stemmed^2.0 title^1.5 - - - ord(weight)^0.5 recip(rord(iind),1,1000,1000)^0.3 - - - 3<-1 5<-2 6<90% - - 100 - - - - *:* - 0.01 - - text^0.5 features_t^1.0 subject^1.4 title_stemmed^2.0 - - - text^0.2 features_t^1.1 subject^1.4 title_stemmed^2.0 title^1.5 - - - ord(weight)^0.5 recip(rord(iind),1,1000,1000)^0.3 - - - 3<-1 5<-2 6<90% - - 100 - - - - 1000 - 1.4142135 - 12 - foo - - - sqrt 2 - log 10 - - - - - - - - 4 - true - text,name,subject,title,whitetok - - - - - - - 4 - true - text,name,subject,title,whitetok - - - - - - - - - string - elevate.xml - - - - - explicit - - - elevate - - - - - - - false - - false - - 1 - - lowerfilt - - - default - lowerfilt - ./spellchecker - - - - - jarowinkler - lowerfilt - - org.apache.lucene.search.spell.JaroWinklerDistance - ./spellchecker - - - - solr.FileBasedSpellChecker - external - spellings.txt - UTF-8 - ./spellchecker - - - - - - - - spellcheck - - - - - - - - - 100 - - - - - - 70 - - - - - - - ]]> - ]]> - - - - - - - - - - - max-age=30, public - - - - - solr - solrconfig.xml scheam.xml admin-extra.html - - - - prefix-${solr.test.sys.prop2}-suffix - - - - - -