InterventionDictionary

更新时间:
复制 MD 格式

Represents an intervention dictionary configured for an OpenSearch application.

Example

{
    "id": 1,
    "name": "tongyici",
    "type": "synonym",
    "analyzer": "",
    "created": 1539158313,
    "updated": 1539158313
}

Structure

FieldTypeDescription
idIntegerThe ID of the intervention dictionary.
nameStringThe name of the intervention dictionary.
typeStringThe type of the intervention dictionary. For valid values, see Type values.
analyzerStringThe custom analyzer.
createdIntegerThe time when the intervention dictionary was created.
updatedIntegerThe time when the intervention dictionary was last updated.

Type values

ValueDescription
stopwordFilters stop words from search queries.
synonymMaps synonyms for search queries.
correctionCorrects spelling errors in search queries.
category_predictionPredicts the category of a search query.
nerApplies named entity recognition (NER) to search queries.
term_weightingAnalyzes term weights in search queries.
suggest_allowlistDefines an allowlist for drop-down suggestions.
suggest_denylistDefines a denylist for drop-down suggestions.
hot_allowlistDefines an allowlist for top search results.
hot_denylistDefines a denylist for top search results.
hint_allowlistDefines an allowlist for hints.
hint_denylistDefines a denylist for hints.