From: Dennis Schafroth Date: Mon, 19 Aug 2013 11:24:10 +0000 (+0200) Subject: Solr4 configuration. Enable replication towards master: Change hostname. X-Git-Tag: v0.4.11~1 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=d72e0c0f53b8e62bc0dcb6569ede7e2170b56b59;p=lui-solr.git Solr4 configuration. Enable replication towards master: Change hostname. --- diff --git a/conf/solrconfig-slave.xml b/conf/solrconfig-slave.xml index 371ba5f..e4787e3 100644 --- a/conf/solrconfig-slave.xml +++ b/conf/solrconfig-slave.xml @@ -29,27 +29,15 @@ have your own custom plugins. --> - - ${solr.abortOnConfigurationError:true} - + --> LUCENE_43 - - - - - - - + + + + + + + + + + + - - - - ${solr.data.dir:/var/lib/masterkey/lui/solr4/slave} + - + class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/> + + + - + - WARNING: See also the section below for parameters - that overfor Solr's main Lucene index. + + + - - - false - - 10 - - 32 - + + + + + + + + + + + - 10000 - 1000 - 10000 - + + 10 + 10 + + --> + + + - + - native - - - - - - - - - false - 32 - 10 + ${solr.lock.type:native} + + + + + + - 1 + - 0 + + - false + + - + + + ${solr.ulog.dir:} + + - + + - + - + + multipartUploadLimitInKB="2048000" + formdataUploadLimitInKB="2048"/> - - - explicit - text - - false - - true - - 5 - true - - - spellcheck - + + + + explicit + 10 + text + + + + + + + + + + + + + + explicit + json + true + text + + + + + + + + true + json + true + - - velocity - browse layout Solritas + edismax + + text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 + title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0 + + text + 100% *:* 10 *,score + text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 + title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0 - text,features,name,sku,id,manu,cat + text,features,name,sku,id,manu,cat,title,description,keywords,author,resourcename 3 - - text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 - - + on cat manu_exact + content_type + author_s ipod GB 1 cat,inStock + after price 0 600 50 - after + popularity + 0 + 10 + 3 manufacturedate_dt NOW/YEAR-10YEARS NOW @@ -783,34 +956,59 @@ before after - on - text features name + content features title name + html + <b> + </b> + 0 + title 0 name + 3 + 200 + content + 750 + + + on + false + 5 + 2 + 5 + true + true + 5 + 3 + + spellcheck - - - + - - - - - - + - - + + + + application/json + + + + + application/csv + + - text true ignored_ @@ -863,6 +1051,7 @@ + - - search + solrpingquery + + all + + @@ -969,29 +1165,36 @@ + It is also necessary for SolrCloud to function (in Cloud mode, the + replication handler is used to bulk transfer segments when nodes + are added or need to recover). - - + + + + --> + - http://localhost:8983/solr/replication - 00:00:60 + http://localhost:8080/solr4 + 00:10:00 - - + - + - text + text_general + + + - solr.IndexBasedSpellChecker - text - text - true - ./spellchecker - + internal + + 0.5 + + 2 + + 1 + + 5 + + 4 + + 0.01 + - + + + + wordbreak + solr.WordBreakSolrSpellChecker + name + true + true + 10 + @@ -1082,9 +1311,8 @@ freq lowerfilt - spellcheckerFreq + solr.DirectSolrSpellChecker freq - true --> @@ -1114,9 +1342,22 @@ --> - false - false - 1 + text + + default + wordbreak + on + true + 10 + 5 + 5 + true + true + 10 + 5 spellcheck @@ -1136,8 +1377,9 @@ In reality you will likely want to add the component to your already specified request handlers. --> - + + text true @@ -1149,14 +1391,13 @@ http://wiki.apache.org/solr/ClusteringComponent - This relies on third party jars which are notincluded in the - release. To use this component (and the "/clustering" handler) - Those jars will need to be downloaded, and you'll need to set - the solr.cluster.enabled system property when running solr... + You'll need to set the solr.clustering.enabled system property + when running solr to run with clustering enabled: + + java -Dsolr.clustering.enabled=true -jar start.jar - java -Dsolr.clustering.enabled=true -jar start.jar --> - @@ -1164,8 +1405,8 @@ default - 20 - + @@ -1243,7 +1484,7 @@ edismax - text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 + text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 *:* 10 @@ -1267,6 +1508,7 @@ true + false terms @@ -1292,6 +1534,7 @@ explicit + text elevator @@ -1345,13 +1588,17 @@ - + - + + + + ]]> + + + + 10 + .,!? + + + + + + + WORD + + + en + US + + @@ -1410,7 +1678,47 @@ --> + + + + + + + + + + text/plain; charset=UTF-8 + + - + + + + + + + *:* - - -