DC 5.10 Configuration Parameters
Required configuration parameters
In order for Solr to work, the following parameters are needed:
Solr URL (default: http://localhost:8983/solr)
Solr UNC (default: C:\Bitnami\solr-8.3.1-1\apache-solr\server\solr)
The goes into the Digizuite web.config in the Appsettings section.
Optional configuration parameters
Once Solr is up and running, there are some optional configuration parameters that can be used to tune performance and searching capabilities.
The first set of configuration parameters are found in the Digizuite configuration area (System tools/Digizuite Configuration. These are two constants that may be changed:
Name | Description | Default value |
---|---|---|
SEARCHPROXY_DEBOUNCE_STRATEGY | This parameters is used to determine which debounce strategy to use when updating the index. The options are:
The first one debounces the events that update the index for X seconds and if another event arrives The latter one is a throttling strategy, where all events are delayed for X seconds. The recommendation is to use the DEBOUNCE strategy | DEBOUNCE |
SEARCHPROXY_DEBOUNCE_TIME | This parameter is used to determine the time an event is debounced/throttled. This specifies the X seconds mentioned the above describtion for SEARCHPROXY_DEBOUNCE_STRATEGY. The recommendation here varies on the environment. There are the following recommendations:
The idea is to keep this is low as possible, without spamming the system. If a lot of data is being updated | 5 |
Lastly, we have the option to change the behavior of how Solr interprets indexes and queries. This is done using the concept of Tokenizers
The idea of a Tokenizers is to break a stream of characters into a set of tokens. There are many reasons to use tokenizers instead of standard string matching for example performance and/or behavior of search.
For a more detailed explanation of Tokenizers we refer to Solr’s documentation. Additionally for a full list of available tokenizers, we refer to this page
Tokenizers are configured in the following way:
Stop SolrServices (SolrJetty/SolrApache) on webserver
Find the Solr core you want to change (Default location: C:\Bitnami\solr-8.3.1-1\apache-solr\server\solr)
Open <CoreName>\Conf\managed-schema
Find the input parameter you want to manipulate
Change either the type of the input parameter or manipulate the type definition. Both are find the managed-schema
Delete the <CoreName>\Data folder
Start SolrServices
Repopulate the search from Digizuite UI.