Name | Type | Default value | Description |
---|---|---|---|
name | string | Name of the search logic. This name is referred to with the 'logic' parameter in the Search API. | |
tokenizationConfig | string | Name of the tokenization configuration to use when using this search logic. For consistency, this should be the same tokenization configuration as in the dictionary and analysis configurations. | |
dataModel | string | Name of the data model this search logic targets. A Search Logic can only target one data model. | |
customQueryProcessingFactoryClassId | string | Java class implementing the QueryProcessingRunnerFactory interface to build the thread-specific QueryProcessingRunners (which expand the actual query). | |
fetchMasks | boolean | Fetches masks in searcher. Required to get the "mask" field in the hits. | |
sliceDownAction | enum(error, ignore) | ignore | What to do if one of the slice is down when the search is performed. A slice is considered as down if all replicas are down (and if the master is also down in the default search target configuration). One of "error" or "ignore". Default is "ignore". |
sliceDownReportMode | enum(quiet, local, global) | local | Specifies how to report a down slice error in 'Troubleshooting > Logs': • quiet: No log. • local: Error is reported in the Process log. • global: Error is reported in both Process and Global logs. |
searchTimeoutAction | enum(error, ignore) | ignore | What to do when slices time out. One of "error" or "ignore". Default is "ignore". |
searchTimeoutReportMode | enum(quiet, local, global) | local | Specifies how to report a timeout error in 'Troubleshooting > Logs': • quiet: No log. • local: Error is reported in the Process log. • global: Error is reported in both Process and Global logs. |
searchLimitAction | enum(error, ignore) | ignore | What to do if a search limit is reached. One of "error" or "ignore". Default is "ignore". |
searchLimitReportMode | enum(quiet, local, global) | local | Specifies how to report a search limit error in 'Troubleshooting > Logs': • quiet: No log. • local: Error is reported in the Process log. • global: Error is reported in both Process and Global logs. |
retrieveSourceField | boolean | True | Should the "source" field be automatically added to the retrieved field? |
handleNegativeSecurityTokens | boolean | True | When enabled the security restriction will handle document security token starting with ~ as negative token. The negative security tokens are prioritary above standard tokens. The query restriction generated for a query with the tokens tok1, tok2, tok3 is ((tok1 OR tok2 OR tok3) AND NOT ~tok1 AND NOT ~tok2 AND NOT ~tok3). If the security sources return a lot of security tokens and the connectors do not push negative security tokens it can be interesting to disable negative security tokens handling to speed up the queries (the security query restriction will be (tok1 OR tok2 OR tok3) in this case. |
Name | Type | Description |
---|---|---|
ContentRestriction | com.exalead.mercury.mami.search.v20.ContentRestriction | Content restriction configuration for this search logic. |
FacetsConfig | com.exalead.search.v30.FacetsConfig | Facets configuration for this search logic. |
HitConfig | com.exalead.search.v30.HitConfig | Hit content configuration for this search logic. |
LimitsConfig | com.exalead.search.v30.LimitsConfig | Limits configuration for this search logic. |
PostFilterConfig | com.exalead.mercury.mami.search.v20.PostFilterConfig | Post filtering configuration for this search logic. |
QueryRestrictionConfig | com.exalead.mercury.mami.search.v20.QueryRestrictionConfig | Query restriction configuration for this search logic. |
RelatedTermsSynthesisConfig | com.exalead.search.v30.RelatedTermsSynthesisConfig | Related terms configuration for this search logic. |
RelevanceConfig | com.exalead.search.v30.RelevanceConfig | Relevance configuration for this search logic. |
Sort | com.exalead.search.v30.Sort | Sort configuration for this search logic. |
SpellCheckerConfig | com.exalead.search.v30.SpellCheckerConfig | Spell checker configuration for this search logic. |
TimezoneConfig | com.exalead.mercury.mami.search.v20.TimezoneConfig | |
UQLConfig | com.exalead.mercury.mami.search.v20.UQLConfig | UQL configuration for this search logic. |
VirtualFieldDefinition | com.exalead.search.v30.VirtualFieldDefinition* | Virtual fields configuration for this search logic. |