UserDict

更新时间:
复制 MD 格式

Represents a custom dictionary used for text analysis (segmentation) in OpenSearch High-performance Search Edition. The dictionary tracks its entry limits, current entry count, and availability status.

Example

{
    "id": 123,
    "type": "segment",
    "entriesLimit": 4,
    "entriesCount": -1,
    "available": false,
    "created": 1588054131,
    "updated": 1588054131
}

Fields

FieldTypeDescription
idIntegerThe ID of the dictionary.
typeStringThe type of the dictionary. Valid value: segment.
entriesLimitIntegerThe maximum number of intervention entries that can be created in the dictionary.
entriesCountIntegerThe number of intervention entries.
availableBooleanIndicates whether the dictionary is available.
createdIntegerThe Unix timestamp when the dictionary was created.
updatedIntegerThe Unix timestamp when the dictionary was last updated.