Catalog Search Plugin Configuration
The following properties configure the behavior of the Catalog Search Plugin in Metadata Management Module (MMM).
The properties are specified either in the MMM (mmm/mmm-be
) deployment in the Configuration Service User Guide or in the be/etc/application.properties
configuration file.
Properties
Property | Data type | Description | ||||
---|---|---|---|---|---|---|
|
String |
Defines for how long the search cache is stored, starting from the last WRITE transaction. For a list of accepted units, see Duration units. |
||||
|
Boolean |
If set to true, Elasticsearch-Evolution is enabled. Elasticsearch-Evolution is a library for migrating Elasticsearch mappings, thanks to which upgrades are done automatically as the application promotes configuration changes itself. Default value: |
||||
|
String |
The location from where Elasticsearch-Evolution migration scripts or configuration files are fetched. When defining multiple locations, set the index number accordingly. Default value: |
||||
|
Number |
The maximum allowed query size while already executed change sets are being validated. This value has to be higher than the total count of Elasticsearch-Evolution change sets. Default value: |
||||
|
String |
The name of the history index used by Elasticsearch-Evolution. This is where the internal state of Elasticsearch-Evolution is persisted and where the executed migration scripts are logged (in other words, all applied change sets). Default value: |
||||
|
Number |
Defines how many primary shards an index is expected to have. For more information, see Elasticsearch Index Modules. Default value: |
||||
|
Number |
Specifies how many replicas each primary shard has. For more information, see Elasticsearch Index Modules. Default value: |
||||
|
String |
Configures whether all data should be cleared from the Elasticsearch index.
It should be set to the same value as the property Default value: |
||||
|
String |
The name of the engine used for search. Default value: |
||||
|
String |
A comma-separated list of Elasticsearch hosts. Must include the scheme as well. Default value: |
||||
|
String |
The separator used to break down a search query into normalized tokens.
By default, the delimiter is a space character.
Default value: |
||||
|
Number |
Configures how many aggregation buckets are retrieved in a single aggregation batch. For more information, see Bucket Aggregations. |
||||
|
String |
The name of the Elasticsearch index (BLUE) used for catalog search. Default value: |
||||
|
String |
The name of the Elasticsearch index (BLUE) used for catalog search.
By default, references the property |
||||
|
String |
The name of the Elasticsearch index (GREEN) used for catalog search. Default value: |
||||
|
String |
The name of the Elasticsearch alias (PRODUCTION) used for catalog search. Default value: |
||||
|
String |
The name of the Elasticsearch alias (PRODUCTION) used for catalog search.
By default, references the property |
||||
|
String |
The name of the Elasticsearch alias (STAGING) used for catalog search. Default value: |
||||
|
String |
The name of the Elasticsearch query template for catalog search. Default value: |
||||
|
String |
The name of the Elasticsearch filter suggestion template for catalog search. Default value: |
||||
|
String |
The name of the Elasticsearch stored script for updating the catalog search node. Default value: |
||||
|
String |
The name of the Elasticsearch stored script for deleting the catalog search node. Default value: |
||||
|
String |
The name of the Elasticsearch query template for concurrency control. Default value: |
||||
|
String |
The annotation name for the default sorting property. Default value: |
||||
|
String |
The annotation value for the default sorting property. Default value: |
||||
|
String |
The name of the node property used as the default sorting field (with index 0).
|
||||
|
String |
The name of the node used as the default sorting field (with index 0). Default value: |
||||
|
String |
The name of the referenced node used as the default sorting field (with index 0).
For example, |
||||
|
String |
The name of the referenced node property used as the default sorting field (with index 0).
For example, |
||||
|
String |
The sorting order used for the default sorting field (with index 0).
Allowed values: Default value: |
||||
|
String |
The data type of the default sorting field (with index 0).
Must match the data type of the Default value: |
||||
|
String |
Defines the maximum size of bulk request which can be send to Elasticsearch.
The property type is Bulk requests to Elasticsearch can be refused because of size (due to the Elasticsearch parameter Default value: |
||||
|
String |
Configures how often the event queue is polled for updates. Default value: |
||||
|
Number |
The number of events that can be polled in a single batch. Default value: |
||||
|
String |
Defines the delay of the event processing job execution after the plugin starts. This is needed to prevent interference with other plugins that start later, which could lead to issues with starting MMM. Default value: |
||||
|
Number |
An array of durations, with each duration representing the waiting period before the next retry is attempted. The number of durations determines the number of reprocessing attempts before an event is considered unsuccessful. Default settings:
|
||||
|
Number |
Defines the probability of catalog search read repair process execution. |
||||
|
Number |
Defines the thread pool size for catalog search read repair functionality. |
||||
|
String |
Determines how successfully processed events are handled.
By default, such events are deleted after the time period defined in the property Another option is Default value: |
||||
|
String |
The time period after which successfully processed events are cleared.
Applicable when the Default value: 1h. For a full list of accepted units, see Duration units. |
||||
|
String |
Determines how failed events are handled.
By default, such events are deleted after the time period defined in the property Default value: |
||||
|
String |
The time period after which failed events are cleared.
Applicable when the Default value: |
||||
|
Boolean |
Enables event compaction. Default value: |
||||
|
String |
Configures how often the event queue is checked for new, uncompacted events. Default value: |
||||
|
Boolean |
Defines the consuming order for event queue. Default value: |
||||
|
Boolean |
Enables HTTP basic authentication for the Elasticsearch client. |
||||
|
String |
The username for the Elasticsearch client. Used if basic authentication is enabled. |
||||
|
String |
The password for the Elasticsearch client. Used if basic authentication is enabled. |
||||
|
Number |
Defines the thread pool size (number of threads) for catalog search read repair functionality. |
||||
|
Float |
Performs a cross-checking with MMM to verify whether the searched items are still in MMM. If the items are not there, they are deleted from the search store. Probability is expressed as a floating point number from 0 to 1. Default value: |
||||
|
Boolean |
A refresh makes recent operations performed on one or more indices available for search immediately after the operation occurs. Default: |
||||
|
Boolean |
Handles automatic synchronization of data reindexing in Elasticsearch, when data or a schema of data is changed during an upgrade procedure. How data is handled depends on its status during the upgrade procedure:
|
||||
|
Boolean |
Handles automatic search configuration changes during the upgrade procedure.
|
||||
|
Boolean |
Enables advanced HTTP configuration for communication with Elasticsearch.
This property must be set to true if any other
|
||||
|
Boolean |
Enables TLS communication between the client and Elasticsearch. Default value: |
||||
|
String |
The full path to the truststore file used for the Elasticsearch client.
Must contain the Elasticsearch certificate.
For example, |
||||
|
String |
The type of the truststore for the Elasticsearch client.
Allowed values: |
||||
|
String |
The password for the truststore. Used if the truststore is encrypted. |
||||
|
Boolean |
Enables mTLS for the Elasticsearch client. Default value: |
||||
|
String |
The full path to the keystore file used for the Elasticsearch client.
Must contain the key for the certificate used by Elasticsearch.
For example, |
||||
|
String |
The type of the keystore for the Elasticsearch client.
Allowed values: |
||||
|
String |
The password for the keystore. Used if the keystore is encrypted. |
Was this page useful?