X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=conf%2Fsolrconfig-master.xml;h=bb59a2c9fdc2c46ba1778f96ccb38dd9f0730349;hp=cb497bfdee5fbd2903d51c10c012b6c4dc59514c;hb=f72dd63d71de24890ba234d6e4ae328cdc86af7b;hpb=85194d034c863634ab1005641c42c0c39ee8dc8d diff --git a/conf/solrconfig-master.xml b/conf/solrconfig-master.xml index cb497bf..bb59a2c 100644 --- a/conf/solrconfig-master.xml +++ b/conf/solrconfig-master.xml @@ -29,27 +29,15 @@ have your own custom plugins. --> - - ${solr.abortOnConfigurationError:true} - - LUCENE_43 + --> + 4.4 - - - - - - - - - - - + - ${solr.data.dir:/var/lib/masterkey/lui/solr/master} + ${solr.data.dir:/var/lib/masterkey/lui/solr4/master} + - + 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 + + + + + + + + + + + + + + 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 +964,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 +1059,7 @@ + - - search + solrpingquery + + all + + @@ -956,30 +1173,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). + https://wiki.apache.org/solr/SolrCloud/ + --> + + + - - - + --> + - + - 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 + @@ -1070,9 +1320,8 @@ freq lowerfilt - spellcheckerFreq + solr.DirectSolrSpellChecker freq - true --> @@ -1102,9 +1351,22 @@ --> - false - false - 1 + text + + default + wordbreak + on + true + 10 + 5 + 5 + true + true + 10 + 5 spellcheck @@ -1124,8 +1386,9 @@ In reality you will likely want to add the component to your already specified request handlers. --> - + + text true @@ -1137,14 +1400,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 --> - @@ -1152,8 +1414,8 @@ default - 20 - + @@ -1231,7 +1493,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 @@ -1255,6 +1517,7 @@ true + false terms @@ -1280,6 +1543,7 @@ explicit + text elevator @@ -1333,13 +1597,17 @@ - + - + + + + ]]> + + + + 10 + .,!? + + + + + + + WORD + + + en + US + + @@ -1398,7 +1687,47 @@ --> + + + + + + + + + + + text/plain; charset=UTF-8 + + - + + + + + + + *:* - - -