upadted solr config files
This commit is contained in:
parent
74e0caf412
commit
dbba1da4e8
@ -49,7 +49,7 @@
|
|||||||
that avoids logging every request
|
that avoids logging every request
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<schema name="drupal-8.3.2-solr-7.x" version="1.6">
|
<schema name="drupal-8.3.8-solr-8.x" version="1.6">
|
||||||
<!-- attribute "name" is the name of this schema and is only used for display purposes.
|
<!-- attribute "name" is the name of this schema and is only used for display purposes.
|
||||||
version="x.y" is Solr's version number for the schema syntax and
|
version="x.y" is Solr's version number for the schema syntax and
|
||||||
semantics. It should not normally be changed by applications.
|
semantics. It should not normally be changed by applications.
|
||||||
@ -166,8 +166,8 @@
|
|||||||
the last letter is 's' for single valued, 'm' for multi-valued -->
|
the last letter is 's' for single valued, 'm' for multi-valued -->
|
||||||
|
|
||||||
<!-- We use plong for integer since 64 bit ints are now common in PHP. -->
|
<!-- We use plong for integer since 64 bit ints are now common in PHP. -->
|
||||||
<dynamicField name="is_*" type="plong" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
<dynamicField name="is_*" type="plong" indexed="true" stored="false" multiValued="false" docValues="true" termVectors="true"/>
|
||||||
<dynamicField name="im_*" type="plong" indexed="true" stored="false" multiValued="true" docValues="true"/>
|
<dynamicField name="im_*" type="plong" indexed="true" stored="false" multiValued="true" docValues="true" termVectors="true"/>
|
||||||
<!-- List of floats can be saved in a regular float field -->
|
<!-- List of floats can be saved in a regular float field -->
|
||||||
<dynamicField name="fs_*" type="pfloat" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
<dynamicField name="fs_*" type="pfloat" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
||||||
<dynamicField name="fm_*" type="pfloat" indexed="true" stored="false" multiValued="true" docValues="true"/>
|
<dynamicField name="fm_*" type="pfloat" indexed="true" stored="false" multiValued="true" docValues="true"/>
|
||||||
@ -175,14 +175,14 @@
|
|||||||
<dynamicField name="ps_*" type="pdouble" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
<dynamicField name="ps_*" type="pdouble" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
||||||
<dynamicField name="pm_*" type="pdouble" indexed="true" stored="false" multiValued="true" docValues="true"/>
|
<dynamicField name="pm_*" type="pdouble" indexed="true" stored="false" multiValued="true" docValues="true"/>
|
||||||
<!-- List of booleans can be saved in a regular boolean field -->
|
<!-- List of booleans can be saved in a regular boolean field -->
|
||||||
<dynamicField name="bm_*" type="boolean" indexed="true" stored="false" multiValued="true" docValues="true"/>
|
<dynamicField name="bm_*" type="boolean" indexed="true" stored="false" multiValued="true" docValues="true" termVectors="true"/>
|
||||||
<dynamicField name="bs_*" type="boolean" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
<dynamicField name="bs_*" type="boolean" indexed="true" stored="false" multiValued="false" docValues="true" termVectors="true"/>
|
||||||
<!-- Regular text (without processing) can be stored in a string field-->
|
<!-- Regular text (without processing) can be stored in a string field-->
|
||||||
<dynamicField name="ss_*" type="string" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
<dynamicField name="ss_*" type="string" indexed="true" stored="false" multiValued="false" docValues="true" termVectors="true"/>
|
||||||
<!-- For field types using SORTED_SET, multiple identical entries are collapsed into a single value.
|
<!-- For field types using SORTED_SET, multiple identical entries are collapsed into a single value.
|
||||||
Thus if I insert values 4, 5, 2, 4, 1, my return will be 1, 2, 4, 5 when enabling docValues.
|
Thus if I insert values 4, 5, 2, 4, 1, my return will be 1, 2, 4, 5 when enabling docValues.
|
||||||
If you need to preserve the order and duplicate entries, consider to store the values as zm_* (twice). -->
|
If you need to preserve the order and duplicate entries, consider to store the values as zm_* (twice). -->
|
||||||
<dynamicField name="sm_*" type="string" indexed="true" stored="false" multiValued="true" docValues="true"/>
|
<dynamicField name="sm_*" type="string" indexed="true" stored="false" multiValued="true" docValues="true" termVectors="true"/>
|
||||||
<!-- Special-purpose text fields -->
|
<!-- Special-purpose text fields -->
|
||||||
<dynamicField name="tws_*" type="text_ws" indexed="true" stored="true" multiValued="false"/>
|
<dynamicField name="tws_*" type="text_ws" indexed="true" stored="true" multiValued="false"/>
|
||||||
<dynamicField name="twm_*" type="text_ws" indexed="true" stored="true" multiValued="true"/>
|
<dynamicField name="twm_*" type="text_ws" indexed="true" stored="true" multiValued="true"/>
|
||||||
@ -193,8 +193,8 @@
|
|||||||
<!-- This field is used to store date ranges -->
|
<!-- This field is used to store date ranges -->
|
||||||
<dynamicField name="drs_*" type="date_range" indexed="true" stored="true" multiValued="false"/>
|
<dynamicField name="drs_*" type="date_range" indexed="true" stored="true" multiValued="false"/>
|
||||||
<dynamicField name="drm_*" type="date_range" indexed="true" stored="true" multiValued="true"/>
|
<dynamicField name="drm_*" type="date_range" indexed="true" stored="true" multiValued="true"/>
|
||||||
<dynamicField name="its_*" type="plong" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
<dynamicField name="its_*" type="plong" indexed="true" stored="false" multiValued="false" docValues="true" termVectors="true"/>
|
||||||
<dynamicField name="itm_*" type="plong" indexed="true" stored="false" multiValued="true" docValues="true"/>
|
<dynamicField name="itm_*" type="plong" indexed="true" stored="false" multiValued="true" docValues="true" termVectors="true"/>
|
||||||
<dynamicField name="fts_*" type="pfloat" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
<dynamicField name="fts_*" type="pfloat" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
||||||
<dynamicField name="ftm_*" type="pfloat" indexed="true" stored="false" multiValued="true" docValues="true"/>
|
<dynamicField name="ftm_*" type="pfloat" indexed="true" stored="false" multiValued="true" docValues="true"/>
|
||||||
<dynamicField name="pts_*" type="pdouble" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
<dynamicField name="pts_*" type="pdouble" indexed="true" stored="false" multiValued="false" docValues="true"/>
|
||||||
|
@ -113,6 +113,7 @@
|
|||||||
<analyzer type="query">
|
<analyzer type="query">
|
||||||
<charFilter class="solr.MappingCharFilterFactory" mapping="accents_fr.txt"/>
|
<charFilter class="solr.MappingCharFilterFactory" mapping="accents_fr.txt"/>
|
||||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||||
|
<filter class="solr.ElisionFilterFactory"/>
|
||||||
<filter class="solr.WordDelimiterGraphFilterFactory" catenateNumbers="0" generateNumberParts="0" protected="protwords_fr.txt" splitOnCaseChange="1" generateWordParts="1" preserveOriginal="1" catenateAll="0" catenateWords="0"/>
|
<filter class="solr.WordDelimiterGraphFilterFactory" catenateNumbers="0" generateNumberParts="0" protected="protwords_fr.txt" splitOnCaseChange="1" generateWordParts="1" preserveOriginal="1" catenateAll="0" catenateWords="0"/>
|
||||||
<filter class="solr.LowerCaseFilterFactory"/>
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
<filter class="solr.SynonymGraphFilterFactory" synonyms="synonyms_fr.txt" expand="true" ignoreCase="true"/>
|
<filter class="solr.SynonymGraphFilterFactory" synonyms="synonyms_fr.txt" expand="true" ignoreCase="true"/>
|
||||||
|
@ -3,13 +3,15 @@
|
|||||||
<!DOCTYPE config [
|
<!DOCTYPE config [
|
||||||
<!ENTITY extra SYSTEM "solrconfig_extra.xml">
|
<!ENTITY extra SYSTEM "solrconfig_extra.xml">
|
||||||
<!ENTITY index SYSTEM "solrconfig_index.xml">
|
<!ENTITY index SYSTEM "solrconfig_index.xml">
|
||||||
|
<!ENTITY query SYSTEM "solrconfig_query.xml">
|
||||||
|
<!ENTITY requestdispatcher SYSTEM "solrconfig_requestdispatcher.xml">
|
||||||
]>
|
]>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
For more details about configurations options that may appear in
|
For more details about configurations options that may appear in
|
||||||
this file, see http://wiki.apache.org/solr/SolrConfigXml.
|
this file, see http://wiki.apache.org/solr/SolrConfigXml.
|
||||||
-->
|
-->
|
||||||
<config name="drupal-8.3.2-solr-7.x" >
|
<config name="drupal-8.3.8-solr-8.x" >
|
||||||
<!-- In all configuration below, a prefix of "solr." for class names
|
<!-- In all configuration below, a prefix of "solr." for class names
|
||||||
is an alias that causes solr to search appropriate packages,
|
is an alias that causes solr to search appropriate packages,
|
||||||
including org.apache.solr.(search|update|request|core|analysis)
|
including org.apache.solr.(search|update|request|core|analysis)
|
||||||
@ -81,9 +83,6 @@
|
|||||||
<lib dir="${solr.install.dir:../../../..}/contrib/langid/lib/" regex=".*\.jar" />
|
<lib dir="${solr.install.dir:../../../..}/contrib/langid/lib/" regex=".*\.jar" />
|
||||||
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-langid-\d.*\.jar" />
|
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-langid-\d.*\.jar" />
|
||||||
|
|
||||||
<lib dir="${solr.install.dir:../../../..}/contrib/velocity/lib" regex=".*\.jar" />
|
|
||||||
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-velocity-\d.*\.jar" />
|
|
||||||
|
|
||||||
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lib" regex=".*\.jar" />
|
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lib" regex=".*\.jar" />
|
||||||
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lucene-libs" regex=".*\.jar" />
|
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lucene-libs" regex=".*\.jar" />
|
||||||
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-analysis-extras-\d.*\.jar" />
|
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-analysis-extras-\d.*\.jar" />
|
||||||
@ -391,162 +390,8 @@
|
|||||||
Query section - these settings control query time things like caches
|
Query section - these settings control query time things like caches
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
||||||
<query>
|
<query>
|
||||||
<!-- Max Boolean Clauses
|
<!-- Let the config generator easily inject additional stuff. -->
|
||||||
|
&query;
|
||||||
Maximum number of clauses in each BooleanQuery, an exception
|
|
||||||
is thrown if exceeded.
|
|
||||||
|
|
||||||
** WARNING **
|
|
||||||
|
|
||||||
This option actually modifies a global Lucene property that
|
|
||||||
will affect all SolrCores. If multiple solrconfig.xml files
|
|
||||||
disagree on this property, the value at any given moment will
|
|
||||||
be based on the last SolrCore to be initialized.
|
|
||||||
|
|
||||||
-->
|
|
||||||
<maxBooleanClauses>1024</maxBooleanClauses>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Solr Internal Query Caches
|
|
||||||
|
|
||||||
There are two implementations of cache available for Solr,
|
|
||||||
LRUCache, based on a synchronized LinkedHashMap, and
|
|
||||||
FastLRUCache, based on a ConcurrentHashMap.
|
|
||||||
|
|
||||||
FastLRUCache has faster gets and slower puts in single
|
|
||||||
threaded operation and thus is generally faster than LRUCache
|
|
||||||
when the hit ratio of the cache is high (> 75%), and may be
|
|
||||||
faster under other scenarios on multi-cpu systems.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Filter Cache
|
|
||||||
|
|
||||||
Cache used by SolrIndexSearcher for filters (DocSets),
|
|
||||||
unordered sets of *all* documents that match a query. When a
|
|
||||||
new searcher is opened, its caches may be prepopulated or
|
|
||||||
"autowarmed" using data from caches in the old searcher.
|
|
||||||
autowarmCount is the number of items to prepopulate. For
|
|
||||||
LRUCache, the autowarmed items will be the most recently
|
|
||||||
accessed items.
|
|
||||||
|
|
||||||
Parameters:
|
|
||||||
class - the SolrCache implementation LRUCache or
|
|
||||||
(LRUCache or FastLRUCache)
|
|
||||||
size - the maximum number of entries in the cache
|
|
||||||
initialSize - the initial capacity (number of entries) of
|
|
||||||
the cache. (see java.util.HashMap)
|
|
||||||
autowarmCount - the number of entries to prepopulate from
|
|
||||||
and old cache.
|
|
||||||
-->
|
|
||||||
<filterCache class="solr.FastLRUCache"
|
|
||||||
size="512"
|
|
||||||
initialSize="512"
|
|
||||||
autowarmCount="0"/>
|
|
||||||
|
|
||||||
<!-- Query Result Cache
|
|
||||||
|
|
||||||
Caches results of searches - ordered lists of document ids
|
|
||||||
(DocList) based on a query, a sort, and the range of documents requested.
|
|
||||||
-->
|
|
||||||
<queryResultCache class="solr.LRUCache"
|
|
||||||
size="512"
|
|
||||||
initialSize="512"
|
|
||||||
autowarmCount="0"/>
|
|
||||||
|
|
||||||
<!-- Document Cache
|
|
||||||
|
|
||||||
Caches Lucene Document objects (the stored fields for each
|
|
||||||
document). Since Lucene internal document ids are transient,
|
|
||||||
this cache will not be autowarmed.
|
|
||||||
-->
|
|
||||||
<documentCache class="solr.LRUCache"
|
|
||||||
size="512"
|
|
||||||
initialSize="512"
|
|
||||||
autowarmCount="0"/>
|
|
||||||
|
|
||||||
<!-- custom cache currently used by block join -->
|
|
||||||
<cache name="perSegFilter"
|
|
||||||
class="solr.search.LRUCache"
|
|
||||||
size="10"
|
|
||||||
initialSize="0"
|
|
||||||
autowarmCount="10"
|
|
||||||
regenerator="solr.NoOpRegenerator" />
|
|
||||||
|
|
||||||
<!-- Field Value Cache
|
|
||||||
|
|
||||||
Cache used to hold field values that are quickly accessible
|
|
||||||
by document id. The fieldValueCache is created by default
|
|
||||||
even if not configured here.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<fieldValueCache class="solr.FastLRUCache"
|
|
||||||
size="512"
|
|
||||||
autowarmCount="128"
|
|
||||||
showItems="32" />
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Custom Cache
|
|
||||||
|
|
||||||
Example of a generic cache. These caches may be accessed by
|
|
||||||
name through SolrIndexSearcher.getCache(),cacheLookup(), and
|
|
||||||
cacheInsert(). The purpose is to enable easy caching of
|
|
||||||
user/application level data. The regenerator argument should
|
|
||||||
be specified as an implementation of solr.CacheRegenerator
|
|
||||||
if autowarming is desired.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<cache name="myUserCache"
|
|
||||||
class="solr.LRUCache"
|
|
||||||
size="4096"
|
|
||||||
initialSize="1024"
|
|
||||||
autowarmCount="1024"
|
|
||||||
regenerator="com.mycompany.MyRegenerator"
|
|
||||||
/>
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Lazy Field Loading
|
|
||||||
|
|
||||||
If true, stored fields that are not requested will be loaded
|
|
||||||
lazily. This can result in a significant speed improvement
|
|
||||||
if the usual case is to not load all stored fields,
|
|
||||||
especially if the skipped fields are large compressed text
|
|
||||||
fields.
|
|
||||||
-->
|
|
||||||
<enableLazyFieldLoading>true</enableLazyFieldLoading>
|
|
||||||
|
|
||||||
<!-- Use Filter For Sorted Query
|
|
||||||
|
|
||||||
A possible optimization that attempts to use a filter to
|
|
||||||
satisfy a search. If the requested sort does not include
|
|
||||||
score, then the filterCache will be checked for a filter
|
|
||||||
matching the query. If found, the filter will be used as the
|
|
||||||
source of document ids, and then the sort will be applied to
|
|
||||||
that.
|
|
||||||
|
|
||||||
For most situations, this will not be useful unless you
|
|
||||||
frequently get the same search repeatedly with different sort
|
|
||||||
options, and none of them ever use "score"
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<useFilterForSortedQuery>true</useFilterForSortedQuery>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Result Window Size
|
|
||||||
|
|
||||||
An optimization for use with the queryResultCache. When a search
|
|
||||||
is requested, a superset of the requested number of document ids
|
|
||||||
are collected. For example, if a search for a particular query
|
|
||||||
requests matching documents 10 through 19, and queryWindowSize is 50,
|
|
||||||
then documents 0 through 49 will be collected and cached. Any further
|
|
||||||
requests in that range can be satisfied via the cache.
|
|
||||||
-->
|
|
||||||
<queryResultWindowSize>20</queryResultWindowSize>
|
|
||||||
|
|
||||||
<!-- Maximum number of documents to cache for any entry in the
|
|
||||||
queryResultCache.
|
|
||||||
-->
|
|
||||||
<queryResultMaxDocsCached>200</queryResultMaxDocsCached>
|
|
||||||
|
|
||||||
<!-- Query Related Event Listeners
|
<!-- Query Related Event Listeners
|
||||||
|
|
||||||
@ -634,305 +479,11 @@
|
|||||||
formdataUploadLimitInKB="-1"
|
formdataUploadLimitInKB="-1"
|
||||||
addHttpRequestToContext="false"/>
|
addHttpRequestToContext="false"/>
|
||||||
-->
|
-->
|
||||||
|
<!-- Let the config generator easily inject additional stuff. -->
|
||||||
|
&requestdispatcher;
|
||||||
|
|
||||||
<!-- HTTP Caching
|
|
||||||
|
|
||||||
Set HTTP caching related parameters (for proxy caches and clients).
|
|
||||||
|
|
||||||
The options below instruct Solr not to output any HTTP Caching
|
|
||||||
related headers
|
|
||||||
-->
|
|
||||||
<httpCaching never304="true" />
|
|
||||||
<!-- If you include a <cacheControl> directive, it will be used to
|
|
||||||
generate a Cache-Control header (as well as an Expires header
|
|
||||||
if the value contains "max-age=")
|
|
||||||
|
|
||||||
By default, no Cache-Control header is generated.
|
|
||||||
|
|
||||||
You can use the <cacheControl> option even if you have set
|
|
||||||
never304="true"
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<httpCaching never304="true" >
|
|
||||||
<cacheControl>max-age=30, public</cacheControl>
|
|
||||||
</httpCaching>
|
|
||||||
-->
|
|
||||||
<!-- To enable Solr to respond with automatically generated HTTP
|
|
||||||
Caching headers, and to response to Cache Validation requests
|
|
||||||
correctly, set the value of never304="false"
|
|
||||||
|
|
||||||
This will cause Solr to generate Last-Modified and ETag
|
|
||||||
headers based on the properties of the Index.
|
|
||||||
|
|
||||||
The following options can also be specified to affect the
|
|
||||||
values of these headers...
|
|
||||||
|
|
||||||
lastModFrom - the default value is "openTime" which means the
|
|
||||||
Last-Modified value (and validation against If-Modified-Since
|
|
||||||
requests) will all be relative to when the current Searcher
|
|
||||||
was opened. You can change it to lastModFrom="dirLastMod" if
|
|
||||||
you want the value to exactly correspond to when the physical
|
|
||||||
index was last modified.
|
|
||||||
|
|
||||||
etagSeed="..." is an option you can change to force the ETag
|
|
||||||
header (and validation against If-None-Match requests) to be
|
|
||||||
different even if the index has not changed (ie: when making
|
|
||||||
significant changes to your config file)
|
|
||||||
|
|
||||||
(lastModifiedFrom and etagSeed are both ignored if you use
|
|
||||||
the never304="true" option)
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<httpCaching lastModifiedFrom="openTime"
|
|
||||||
etagSeed="Solr">
|
|
||||||
<cacheControl>max-age=30, public</cacheControl>
|
|
||||||
</httpCaching>
|
|
||||||
-->
|
|
||||||
</requestDispatcher>
|
</requestDispatcher>
|
||||||
|
|
||||||
<!-- Request Handlers
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrRequestHandler
|
|
||||||
|
|
||||||
Incoming queries will be dispatched to a specific handler by name
|
|
||||||
based on the path specified in the request.
|
|
||||||
|
|
||||||
If a Request Handler is declared with startup="lazy", then it will
|
|
||||||
not be initialized until the first request that uses it.
|
|
||||||
|
|
||||||
-->
|
|
||||||
<!-- Disabled for security reasons.
|
|
||||||
<requestHandler name="/dataimport" class="solr.DataImportHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="config">solr-data-config.xml</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- SearchHandler
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SearchHandler
|
|
||||||
|
|
||||||
For processing Search Queries, the primary Request Handler
|
|
||||||
provided with Solr is "SearchHandler" It delegates to a sequent
|
|
||||||
of SearchComponents (see below) and supports distributed
|
|
||||||
queries across multiple shards
|
|
||||||
-->
|
|
||||||
<requestHandler name="/select" class="solr.SearchHandler">
|
|
||||||
<!-- default values for query parameters can be specified, these
|
|
||||||
will be overridden by parameters in the request
|
|
||||||
-->
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="defType">lucene</str>
|
|
||||||
<str name="df">id</str>
|
|
||||||
<str name="echoParams">explicit</str>
|
|
||||||
<bool name="omitHeader">true</bool>
|
|
||||||
<!-- Don't abort searches for the /select request handler (set in solrcore.properties) -->
|
|
||||||
<int name="timeAllowed">${solr.selectSearchHandler.timeAllowed:-1}</int>
|
|
||||||
<!-- By default, don't spell check -->
|
|
||||||
<str name="spellcheck">false</str>
|
|
||||||
</lst>
|
|
||||||
<arr name="last-components">
|
|
||||||
<str>spellcheck</str>
|
|
||||||
<str>elevator</str>
|
|
||||||
</arr>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- A request handler that returns indented JSON by default -->
|
|
||||||
<requestHandler name="/query" class="solr.SearchHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">explicit</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
<str name="df">text</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- A Robust Example
|
|
||||||
|
|
||||||
This example SearchHandler declaration shows off usage of the
|
|
||||||
SearchHandler with many defaults declared
|
|
||||||
|
|
||||||
Note that multiple instances of the same Request Handler
|
|
||||||
(SearchHandler) can be registered multiple times with different
|
|
||||||
names (and different init parameters)
|
|
||||||
-->
|
|
||||||
<!-- Disabled for security reasons, not used by Drupal.
|
|
||||||
<requestHandler name="/browse" class="solr.SearchHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">explicit</str>
|
|
||||||
|
|
||||||
<!- - VelocityResponseWriter settings - ->
|
|
||||||
<str name="wt">velocity</str>
|
|
||||||
<str name="v.template">browse</str>
|
|
||||||
<str name="v.layout">layout</str>
|
|
||||||
|
|
||||||
<!- - Query settings - ->
|
|
||||||
<str name="defType">edismax</str>
|
|
||||||
<str name="q.alt">*:*</str>
|
|
||||||
<str name="rows">10</str>
|
|
||||||
<str name="fl">*,score</str>
|
|
||||||
|
|
||||||
<!- - Faceting defaults - ->
|
|
||||||
<str name="facet">on</str>
|
|
||||||
<str name="facet.mincount">1</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- The more like this handler offers many advantages over the standard handler,
|
|
||||||
when performing moreLikeThis requests.-->
|
|
||||||
<requestHandler name="/mlt" class="solr.MoreLikeThisHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="df">content</str>
|
|
||||||
<str name="mlt.mintf">1</str>
|
|
||||||
<str name="mlt.mindf">1</str>
|
|
||||||
<str name="mlt.minwl">3</str>
|
|
||||||
<str name="mlt.maxwl">15</str>
|
|
||||||
<str name="mlt.maxqt">20</str>
|
|
||||||
<str name="mlt.match.include">false</str>
|
|
||||||
<!-- Abort any searches longer than 2 seconds (set in solrcore.properties) -->
|
|
||||||
<int name="timeAllowed">${solr.mlt.timeAllowed:2000}</int>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- A minimal query type for doing lucene queries -->
|
|
||||||
<requestHandler name="standard" class="solr.SearchHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="df">content</str>
|
|
||||||
<str name="echoParams">explicit</str>
|
|
||||||
<bool name="omitHeader">true</bool>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="df">text</str>
|
|
||||||
</lst>
|
|
||||||
</initParams>
|
|
||||||
|
|
||||||
<!-- Solr Cell Update Request Handler
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/ExtractingRequestHandler
|
|
||||||
|
|
||||||
-->
|
|
||||||
<requestHandler name="/update/extract"
|
|
||||||
startup="lazy"
|
|
||||||
class="solr.extraction.ExtractingRequestHandler" >
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="lowernames">true</str>
|
|
||||||
<str name="uprefix">ignored_</str>
|
|
||||||
|
|
||||||
<!-- capture link hrefs but ignore div attributes -->
|
|
||||||
<str name="captureAttr">true</str>
|
|
||||||
<str name="fmap.a">links</str>
|
|
||||||
<str name="fmap.div">ignored_</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Field Analysis Request Handler
|
|
||||||
|
|
||||||
RequestHandler that provides much the same functionality as
|
|
||||||
analysis.jsp. Provides the ability to specify multiple field
|
|
||||||
types and field names in the same request and outputs
|
|
||||||
index-time and query-time analysis for each of them.
|
|
||||||
|
|
||||||
Request parameters are:
|
|
||||||
analysis.fieldname - field name whose analyzers are to be used
|
|
||||||
|
|
||||||
analysis.fieldtype - field type whose analyzers are to be used
|
|
||||||
analysis.fieldvalue - text for index-time analysis
|
|
||||||
q (or analysis.q) - text for query time analysis
|
|
||||||
analysis.showmatch (true|false) - When set to true and when
|
|
||||||
query analysis is performed, the produced tokens of the
|
|
||||||
field value analysis will be marked as "matched" for every
|
|
||||||
token that is produces by the query analysis
|
|
||||||
-->
|
|
||||||
<requestHandler name="/analysis/field"
|
|
||||||
startup="lazy"
|
|
||||||
class="solr.FieldAnalysisRequestHandler" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Document Analysis Handler
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/AnalysisRequestHandler
|
|
||||||
|
|
||||||
An analysis handler that provides a breakdown of the analysis
|
|
||||||
process of provided documents. This handler expects a (single)
|
|
||||||
content stream with the following format:
|
|
||||||
|
|
||||||
<docs>
|
|
||||||
<doc>
|
|
||||||
<field name="id">1</field>
|
|
||||||
<field name="name">The Name</field>
|
|
||||||
<field name="text">The Text Value</field>
|
|
||||||
</doc>
|
|
||||||
<doc>...</doc>
|
|
||||||
<doc>...</doc>
|
|
||||||
...
|
|
||||||
</docs>
|
|
||||||
|
|
||||||
Note: Each document must contain a field which serves as the
|
|
||||||
unique key. This key is used in the returned response to associate
|
|
||||||
an analysis breakdown to the analyzed document.
|
|
||||||
|
|
||||||
Like the FieldAnalysisRequestHandler, this handler also supports
|
|
||||||
query analysis by sending either an "analysis.query" or "q"
|
|
||||||
request parameter that holds the query text to be analyzed. It
|
|
||||||
also supports the "analysis.showmatch" parameter which when set to
|
|
||||||
true, all field tokens that match the query tokens will be marked
|
|
||||||
as a "match".
|
|
||||||
-->
|
|
||||||
<requestHandler name="/analysis/document"
|
|
||||||
class="solr.DocumentAnalysisRequestHandler"
|
|
||||||
startup="lazy" />
|
|
||||||
|
|
||||||
<!-- Echo the request contents back to the client -->
|
|
||||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">explicit</str>
|
|
||||||
<str name="echoHandler">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Solr Replication
|
|
||||||
|
|
||||||
The SolrReplicationHandler supports replicating indexes from a
|
|
||||||
"master" used for indexing and "slaves" used for queries.
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/SolrReplication
|
|
||||||
|
|
||||||
In the example below, remove the <lst name="master"> section if
|
|
||||||
this is just a slave and remove the <lst name="slave"> section
|
|
||||||
if this is just a master.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/replication" class="solr.ReplicationHandler" >
|
|
||||||
<lst name="master">
|
|
||||||
<str name="enable">${solr.replication.master:false}</str>
|
|
||||||
<str name="replicateAfter">commit</str>
|
|
||||||
<str name="replicateAfter">startup</str>
|
|
||||||
<str name="confFiles">${solr.replication.confFiles:schema.xml,elevate.xml}</str>
|
|
||||||
</lst>
|
|
||||||
<lst name="slave">
|
|
||||||
<str name="enable">${solr.replication.slave:false}</str>
|
|
||||||
<str name="masterUrl">${solr.replication.masterUrl:http://localhost:8983/solr}/replication</str>
|
|
||||||
<str name="pollInterval">${solr.replication.pollInterval:00:00:60}</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Realtime get handler, guaranteed to return the latest stored fields of
|
|
||||||
any document, without the need to commit or open a new searcher. The
|
|
||||||
current implementation relies on the updateLog feature being enabled.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="omitHeader">true</str>
|
|
||||||
<str name="wt">json</str>
|
|
||||||
<str name="indent">true</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Search Components
|
<!-- Search Components
|
||||||
|
|
||||||
Search components are registered to SolrCore and used by
|
Search components are registered to SolrCore and used by
|
||||||
@ -979,136 +530,6 @@
|
|||||||
<!-- Following is a dynamic way to include other components or any customized solrconfig.xml stuff, added by other contrib modules -->
|
<!-- Following is a dynamic way to include other components or any customized solrconfig.xml stuff, added by other contrib modules -->
|
||||||
&extra;
|
&extra;
|
||||||
|
|
||||||
<!-- A request handler for demonstrating the spellcheck component.
|
|
||||||
|
|
||||||
NOTE: This is purely as an example. The whole purpose of the
|
|
||||||
SpellCheckComponent is to hook it into the request handler that
|
|
||||||
handles your normal user queries so that a separate request is
|
|
||||||
not needed to get suggestions.
|
|
||||||
|
|
||||||
IN OTHER WORDS, THERE IS REALLY GOOD CHANCE THE SETUP BELOW IS
|
|
||||||
NOT WHAT YOU WANT FOR YOUR PRODUCTION SYSTEM!
|
|
||||||
|
|
||||||
See http://wiki.apache.org/solr/SpellCheckComponent for details
|
|
||||||
on the request parameters.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/spell" class="solr.SearchHandler" startup="lazy">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="df">spell</str>
|
|
||||||
<str name="spellcheck.dictionary">und</str>
|
|
||||||
<str name="spellcheck">on</str>
|
|
||||||
<str name="spellcheck.onlyMorePopular">false</str>
|
|
||||||
<str name="spellcheck.extendedResults">false</str>
|
|
||||||
<str name="spellcheck.count">1</str>
|
|
||||||
<str name="spellcheck.alternativeTermCount">5</str>
|
|
||||||
<str name="spellcheck.maxResultsForSuggest">5</str>
|
|
||||||
<str name="spellcheck.collate">true</str>
|
|
||||||
<str name="spellcheck.collateExtendedResults">true</str>
|
|
||||||
<str name="spellcheck.maxCollationTries">10</str>
|
|
||||||
<str name="spellcheck.maxCollations">5</str>
|
|
||||||
</lst>
|
|
||||||
<arr name="last-components">
|
|
||||||
<str>spellcheck</str>
|
|
||||||
</arr>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="suggest">true</str>
|
|
||||||
<str name="suggest.dictionary">und</str>
|
|
||||||
<str name="suggest.count">10</str>
|
|
||||||
</lst>
|
|
||||||
<arr name="components">
|
|
||||||
<str>suggest</str>
|
|
||||||
</arr>
|
|
||||||
</requestHandler>
|
|
||||||
<!-- Term Vector Component
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/TermVectorComponent
|
|
||||||
-->
|
|
||||||
<searchComponent name="tvComponent" class="solr.TermVectorComponent"/>
|
|
||||||
|
|
||||||
<!-- A request handler for demonstrating the term vector component
|
|
||||||
|
|
||||||
This is purely as an example.
|
|
||||||
|
|
||||||
In reality you will likely want to add the component to your
|
|
||||||
already specified request handlers.
|
|
||||||
-->
|
|
||||||
<requestHandler name="/tvrh" class="solr.SearchHandler" startup="lazy">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="df">text</str>
|
|
||||||
<bool name="tv">true</bool>
|
|
||||||
</lst>
|
|
||||||
<arr name="last-components">
|
|
||||||
<str>tvComponent</str>
|
|
||||||
</arr>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Terms Component
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/TermsComponent
|
|
||||||
|
|
||||||
A component to return terms and document frequency of those
|
|
||||||
terms
|
|
||||||
-->
|
|
||||||
<searchComponent name="terms" class="solr.TermsComponent"/>
|
|
||||||
|
|
||||||
<!-- A request handler for demonstrating the terms component -->
|
|
||||||
<requestHandler name="/terms" class="solr.SearchHandler" startup="lazy">
|
|
||||||
<lst name="defaults">
|
|
||||||
<bool name="terms">true</bool>
|
|
||||||
<bool name="distrib">false</bool>
|
|
||||||
</lst>
|
|
||||||
<arr name="components">
|
|
||||||
<str>terms</str>
|
|
||||||
</arr>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- A request handler for demonstrating the terms component -->
|
|
||||||
<requestHandler name="/autocomplete" class="solr.SearchHandler" startup="lazy">
|
|
||||||
<lst name="defaults">
|
|
||||||
<bool name="terms">false</bool>
|
|
||||||
<bool name="distrib">false</bool>
|
|
||||||
<str name="spellcheck">false</str>
|
|
||||||
<str name="spellcheck.onlyMorePopular">true</str>
|
|
||||||
<str name="spellcheck.extendedResults">false</str>
|
|
||||||
<str name="spellcheck.count">1</str>
|
|
||||||
<str name="suggest">false</str>
|
|
||||||
<str name="suggest.count">10</str>
|
|
||||||
</lst>
|
|
||||||
<arr name="components">
|
|
||||||
<str>terms</str>
|
|
||||||
<str>spellcheck</str>
|
|
||||||
<str>suggest</str>
|
|
||||||
</arr>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Query Elevation Component
|
|
||||||
|
|
||||||
http://wiki.apache.org/solr/QueryElevationComponent
|
|
||||||
|
|
||||||
a search component that enables you to configure the top
|
|
||||||
results for a given query regardless of the normal lucene
|
|
||||||
scoring.
|
|
||||||
-->
|
|
||||||
<searchComponent name="elevator" class="solr.QueryElevationComponent" >
|
|
||||||
<!-- pick a fieldType to analyze queries -->
|
|
||||||
<str name="queryFieldType">string</str>
|
|
||||||
<str name="config-file">elevate.xml</str>
|
|
||||||
</searchComponent>
|
|
||||||
|
|
||||||
<!-- A request handler for demonstrating the elevator component -->
|
|
||||||
<requestHandler name="/elevate" class="solr.SearchHandler" startup="lazy">
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="echoParams">explicit</str>
|
|
||||||
<str name="df">text</str>
|
|
||||||
</lst>
|
|
||||||
<arr name="last-components">
|
|
||||||
<str>elevator</str>
|
|
||||||
</arr>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<!-- Highlighting Component
|
<!-- Highlighting Component
|
||||||
|
|
||||||
http://wiki.apache.org/solr/HighlightingParameters
|
http://wiki.apache.org/solr/HighlightingParameters
|
||||||
|
@ -78,3 +78,137 @@
|
|||||||
<str name="buildOnStartup">false</str>
|
<str name="buildOnStartup">false</str>
|
||||||
</lst>
|
</lst>
|
||||||
</searchComponent>
|
</searchComponent>
|
||||||
|
<!--
|
||||||
|
Autocomplete
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<requestHandler name="/autocomplete" class="solr.SearchHandler" startup="lazy">
|
||||||
|
<lst name="defaults">
|
||||||
|
<str name="terms">false</str>
|
||||||
|
<str name="distrib">false</str>
|
||||||
|
<str name="spellcheck">false</str>
|
||||||
|
<str name="spellcheck.onlyMorePopular">true</str>
|
||||||
|
<str name="spellcheck.extendedResults">false</str>
|
||||||
|
<str name="spellcheck.count">1</str>
|
||||||
|
<str name="suggest">false</str>
|
||||||
|
<str name="suggest.count">10</str>
|
||||||
|
</lst>
|
||||||
|
<arr name="components">
|
||||||
|
<str>terms</str>
|
||||||
|
<str>spellcheck</str>
|
||||||
|
<str>suggest</str>
|
||||||
|
</arr>
|
||||||
|
</requestHandler>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Extract
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<requestHandler name="/update/extract" class="solr.extraction.ExtractingRequestHandler" startup="lazy">
|
||||||
|
<lst name="defaults">
|
||||||
|
<str name="lowernames">true</str>
|
||||||
|
<str name="uprefix">ignored_</str>
|
||||||
|
<str name="captureAttr">true</str>
|
||||||
|
<str name="fmap.a">links</str>
|
||||||
|
<str name="fmap.div">ignored_</str>
|
||||||
|
</lst>
|
||||||
|
</requestHandler>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
More Like This
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<requestHandler name="/mlt" class="solr.MoreLikeThisHandler">
|
||||||
|
<lst name="defaults">
|
||||||
|
<str name="mlt.mintf">1</str>
|
||||||
|
<str name="mlt.mindf">1</str>
|
||||||
|
<str name="mlt.match.include">false</str>
|
||||||
|
<str name="timeAllowed">${solr.mlt.timeAllowed:2000}</str>
|
||||||
|
</lst>
|
||||||
|
</requestHandler>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Select
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<requestHandler name="/select" class="solr.SearchHandler">
|
||||||
|
<lst name="defaults">
|
||||||
|
<str name="defType">lucene</str>
|
||||||
|
<str name="df">id</str>
|
||||||
|
<str name="echoParams">explicit</str>
|
||||||
|
<str name="omitHeader">true</str>
|
||||||
|
<str name="timeAllowed">${solr.selectSearchHandler.timeAllowed:-1}</str>
|
||||||
|
<str name="spellcheck">false</str>
|
||||||
|
</lst>
|
||||||
|
<arr name="last-components">
|
||||||
|
<str>spellcheck</str>
|
||||||
|
<str>elevator</str>
|
||||||
|
</arr>
|
||||||
|
</requestHandler>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Spellcheck
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<requestHandler name="/spell" class="solr.SearchHandler" startup="lazy">
|
||||||
|
<lst name="defaults">
|
||||||
|
<str name="df">id</str>
|
||||||
|
<str name="spellcheck.dictionary">und</str>
|
||||||
|
<str name="spellcheck">on</str>
|
||||||
|
<str name="spellcheck.onlyMorePopular">false</str>
|
||||||
|
<str name="spellcheck.extendedResults">false</str>
|
||||||
|
<str name="spellcheck.count">1</str>
|
||||||
|
<str name="spellcheck.alternativeTermCount">5</str>
|
||||||
|
<str name="spellcheck.maxResultsForSuggest">5</str>
|
||||||
|
<str name="spellcheck.collate">true</str>
|
||||||
|
<str name="spellcheck.collateExtendedResults">true</str>
|
||||||
|
<str name="spellcheck.maxCollationTries">10</str>
|
||||||
|
<str name="spellcheck.maxCollations">5</str>
|
||||||
|
</lst>
|
||||||
|
<arr name="last-components">
|
||||||
|
<str>spellcheck</str>
|
||||||
|
</arr>
|
||||||
|
</requestHandler>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Suggester
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy">
|
||||||
|
<lst name="defaults">
|
||||||
|
<str name="suggest">true</str>
|
||||||
|
<str name="suggest.dictionary">und</str>
|
||||||
|
<str name="suggest.dictionary">10</str>
|
||||||
|
</lst>
|
||||||
|
<arr name="components">
|
||||||
|
<str>suggest</str>
|
||||||
|
</arr>
|
||||||
|
</requestHandler>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Term Vector
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<requestHandler name="/tvrh" class="solr.SearchHandler" startup="lazy">
|
||||||
|
<lst name="defaults">
|
||||||
|
<str name="df">id</str>
|
||||||
|
<str name="tv">true</str>
|
||||||
|
</lst>
|
||||||
|
<arr name="last-components">
|
||||||
|
<str>tvComponent</str>
|
||||||
|
</arr>
|
||||||
|
</requestHandler>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Special configs for Elevator
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<searchComponent name="elevator" class="solr.QueryElevationComponent">
|
||||||
|
<str name="queryFieldType">string</str>
|
||||||
|
<str name="config-file">elevate.xml</str>
|
||||||
|
</searchComponent>
|
||||||
|
<!--
|
||||||
|
Special configs for Term Vector
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<searchComponent name="tvComponent" class="solr.TermVectorComponent"/>
|
||||||
|
47
materio/conf/solrconfig_query.xml
Normal file
47
materio/conf/solrconfig_query.xml
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
<!--
|
||||||
|
Document Cache
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<documentCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Field Value Cache
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<fieldValueCache class="solr.FastLRUCache" size="512" autowarmCount="128" showItems="32"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Filter Cache
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<filterCache class="solr.FastLRUCache" size="512" initialSize="512" autowarmCount="0"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Per Segment Filter Cache
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<cache name="perSegFilter" class="solr.search.LRUCache" size="10" initialSize="0" autowarmCount="10" regenerator="solr.NoOpRegenerator"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Query Result Cache
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<queryResultCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Special configs for Field Value Cache
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<query name="enableLazyFieldLoading">true</query>
|
||||||
|
<!--
|
||||||
|
Special configs for Filter Cache
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<query name="useFilterForSortedQuery">false</query>
|
||||||
|
<!--
|
||||||
|
Special configs for Query Result Cache
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<query name="queryResultWindowSize">20</query>
|
||||||
|
<query name="queryResultMaxDocsCached">200</query>
|
||||||
|
<query name="maxBooleanClauses">1024</query>
|
6
materio/conf/solrconfig_requestdispatcher.xml
Normal file
6
materio/conf/solrconfig_requestdispatcher.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<!--
|
||||||
|
HTTP Cache Never
|
||||||
|
7.0.0
|
||||||
|
-->
|
||||||
|
<httpCaching never304="true"/>
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
solr.replication.master=false
|
||||||
|
solr.replication.slave=false
|
||||||
|
solr.replication.pollInterval=00:00:60
|
||||||
|
solr.replication.masterUrl=http://localhost:8985/solr
|
||||||
|
solr.replication.confFiles=schema.xml,schema_extra_types.xml,schema_extra_fields.xml,elevate.xml,stopwords_en.txt,synonyms_en.txt,protwords_en.txt,accents_en.txt,stopwords_fr.txt,synonyms_fr.txt,nouns_fr.txt,protwords_fr.txt,accents_fr.txt,stopwords_und.txt,synonyms_und.txt,protwords_und.txt,accents_und.txt
|
||||||
solr.mlt.timeAllowed=2000
|
solr.mlt.timeAllowed=2000
|
||||||
solr.luceneMatchVersion=8.0
|
solr.luceneMatchVersion=8.0
|
||||||
solr.selectSearchHandler.timeAllowed=-1
|
solr.selectSearchHandler.timeAllowed=-1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user