From 5e67c8d2f9e9a7049f07ca3677df32afc5111925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3js?= Date: Wed, 6 Dec 2023 08:04:46 +0100 Subject: [PATCH] IBX-6649: Added support for spell checking --- .../configsets/solr6/conf/solrconfig.xml | 197 +++++++++--------- 1 file changed, 100 insertions(+), 97 deletions(-) diff --git a/resources/platformsh/ibexa-commerce/4.5.x-dev/.platform/configsets/solr6/conf/solrconfig.xml b/resources/platformsh/ibexa-commerce/4.5.x-dev/.platform/configsets/solr6/conf/solrconfig.xml index 75d3829..dc48d62 100644 --- a/resources/platformsh/ibexa-commerce/4.5.x-dev/.platform/configsets/solr6/conf/solrconfig.xml +++ b/resources/platformsh/ibexa-commerce/4.5.x-dev/.platform/configsets/solr6/conf/solrconfig.xml @@ -16,9 +16,9 @@ limitations under the License. --> - - @@ -83,12 +83,12 @@ - @@ -136,19 +136,19 @@ Index Config - These settings control low-level behavior of indexing Most example settings here show the default value, but are commented out, to more easily see where customizations have been made. - + Note: This replaces and from older versions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> - - @@ -162,7 +162,7 @@ - - - - @@ -233,12 +233,12 @@ 30MINUTES 1DAY --> - @@ -292,7 +292,7 @@ Perform a hard commit automatically under certain conditions. Instead of enabling autoCommit, consider using "commitWithin" - when adding documents. + when adding documents. http://wiki.apache.org/solr/UpdateXmlMessages @@ -301,7 +301,7 @@ maxTime - Maximum amount of time in ms that is allowed to pass since a document was added before automatically - triggering a new commit. + triggering a new commit. openSearcher - if false, the commit causes recent index changes to be flushed to stable storage, but does not cause a new searcher to be opened to make those changes visible. @@ -325,14 +325,14 @@ - + 1024 @@ -387,7 +387,7 @@ There are two implementations of cache available for Solr, LRUCache, based on a synchronized LinkedHashMap, and - FastLRUCache, based on a ConcurrentHashMap. + FastLRUCache, based on a ConcurrentHashMap. FastLRUCache has faster gets and slower puts in single threaded operation and thus is generally faster than LRUCache @@ -423,7 +423,7 @@ autowarmCount="0"/> 20 200 @@ -588,7 +588,7 @@ such as /select?qt=XXX handleSelect="true" will cause the SolrDispatchFilter to process - the request and dispatch the query to a handler specified by the + 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 @@ -610,19 +610,19 @@ multipartUploadLimitInKB - specifies the max size (in KiB) of Multipart File Uploads that Solr will allow in a Request. - + formdataUploadLimitInKB - specifies the max size (in KiB) of form data (application/x-www-form-urlencoded) sent via POST. You can use POST to pass request parameters not fitting into the URL. - + addHttpRequestToContext - if set to true, it will instruct the requestParsers to include the original HttpServletRequest - object in the context map of the SolrQueryRequest under the + object in the context map of the SolrQueryRequest under the key "httpRequest". It will not be used by any of the existing - Solr components, but may be useful when developing custom + Solr components, but may be useful when developing custom plugins. - + *** WARNING *** The settings below authorize Solr to fetch remote files, You should make sure your system has some authentication before @@ -645,21 +645,21 @@ - + + spellcheck + @@ -791,7 +794,7 @@ @@ -894,7 +897,7 @@ default - _text_ + meta_content__text_t solr.DirectSolrSpellChecker internal @@ -928,7 +931,7 @@ --> - @@ -973,8 +976,8 @@ This is purely as an example. - In reality you will likely want to add the component to your - already specified request handlers. + In reality you will likely want to add the component to your + already specified request handlers. --> @@ -1048,8 +1051,8 @@ - @@ -1094,7 +1097,7 @@ - - - @@ -1168,8 +1171,8 @@ on the fly based on the hash code of some other fields. This example has overwriteDupes set to false since we are using the id field as the signatureField and Solr will maintain - uniqueness based on that anyway. - + uniqueness based on that anyway. + --> 5 @@ -1299,7 +1302,7 @@ --> @@ -1312,12 +1315,12 @@ jdbc://.... - + To add a constant value to all docs, use: 5 - + If you want the user to still be able to change it with _value:something_ use this: 5