X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=conf%2Fsolrconfig-slave.xml;h=22cde8bf513707ec4ef59878bf37ccb8f3568a8c;hp=8c766df5cd38d0194372023d62c8331d2f17e40a;hb=d3be57b30a51d3f297cd6507bcdb0153417524bb;hpb=9d5cbc8771d5f42e239c3729dc173f4d3c85a70e diff --git a/conf/solrconfig-slave.xml b/conf/solrconfig-slave.xml index 8c766df..22cde8b 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 + --> + 4.4 - - - - - - - - - - - + ${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 + true + - + + + ${solr.ulog.dir:} + + - + + ${solr.autoSoftCommit.maxTime:-1} + + + - + - + + database:* + true + 1 + author_exact + subject_exact + medium_exact + date + database + - static firstSearcher warming in solrconfig.xml + database:* + true + 1 + author_exact + subject_exact + medium_exact + date + database @@ -585,17 +681,21 @@ This section contains instructions for how the SolrDispatchFilter should behave when processing requests for this SolrCore. - handleSelect affects the behavior of requests such as /select?qt=XXX + handleSelect is a legacy option that affects the behavior of requests + such as /select?qt=XXX handleSelect="true" will cause the SolrDispatchFilter to process - the request and will result in consistent error handling and - formatting for all types of requests. + the request and dispatch the query to a handler specified by the + "qt" param, assuming "/select" isn't already registered. handleSelect="false" will cause the SolrDispatchFilter to - ignore "/select" requests and fallback to using the legacy - SolrServlet and it's Solr 1.1 style error formatting + ignore "/select" requests, resulting in a 404 unless a handler + is explicitly registered with the name "/select" + + handleSelect="true" is not recommended for new users, but is the default + for backwards compatibility --> - + + multipartUploadLimitInKB="2048000" + formdataUploadLimitInKB="2048" + addHttpRequestToContext="false"/> - - - explicit - text - - false - - true - - 5 - true - - - spellcheck - + + + + explicit + 10 + text + *,score + + + + + + + + + + + + + + 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 @@ -770,34 +965,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_ @@ -850,6 +1060,7 @@ + - - search + solrpingquery + + all + + @@ -956,29 +1174,37 @@ + 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). - - + + + + --> + + - + - 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 + @@ -1069,9 +1321,8 @@ freq lowerfilt - spellcheckerFreq + solr.DirectSolrSpellChecker freq - true --> @@ -1101,9 +1352,22 @@ --> - false - false - 1 + text + + default + wordbreak + on + true + 10 + 5 + 5 + true + true + 10 + 5 spellcheck @@ -1123,8 +1387,9 @@ In reality you will likely want to add the component to your already specified request handlers. --> - + + text true @@ -1136,14 +1401,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 --> - @@ -1151,8 +1415,8 @@ default - 20 - + @@ -1230,7 +1494,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 @@ -1254,6 +1518,7 @@ true + false terms @@ -1279,6 +1544,7 @@ explicit + text elevator @@ -1332,13 +1598,17 @@ - + - + + + + ]]> + + + + 10 + .,!? + + + + + + + WORD + + + en + US + + @@ -1397,7 +1688,47 @@ --> + + + + + + + + + + + text/plain; charset=UTF-8 + + - + + + + + + + *:* - - -