The data model for a custom analyzer in Open Search Industry Algorithm Edition.
Fields
| Field | Type | Description |
|---|---|---|
id | Integer | The ID of the custom analyzer. |
name | String | The name of the custom analyzer. |
business | String | The built-in analyzer on which the custom analyzer is based. For valid values, see Built-in analyzers. |
dicts[] | Object | The custom dictionaries for analysis. For field details, see UserDict. |
available | Boolean | Indicates whether the custom analyzer is available. |
created | Integer | The timestamp when the custom analyzer was created. Unit: seconds. |
updated | Integer | The timestamp when the custom analyzer was last updated. Unit: seconds. |
Built-in analyzers
The business field specifies the built-in analyzer on which the custom analyzer is based.
| Value | Description |
|---|---|
chn_standard | A general analyzer for Chinese text. |
chn_scene_name | An analyzer for person names in Chinese. |
chn_ecommerce | An analyzer for Chinese text from the E-commerce industry. |
chn_it_content | An analyzer for IT-related text. |
en_min | A fine-grained analyzer for English text. |
th_standard | A general analyzer for Thai text. |
th_ecommerce | An analyzer for Thai text from the E-commerce industry. |
vn_standard | A general analyzer for Vietnamese text. |
chn_community_it | An analyzer for text from the IT industry. |
chn_ecommerce_general | A general analyzer for text from the E-commerce industry. |
chn_esports_general | A general analyzer for text from the gaming industry. |
chn_edu_question | An analyzer for test question-related text from the education industry. |
Example
{
"id": 1234,
"name": "kevin_test2",
"business": "chn_standard",
"dicts": [{
"id": 123,
"type": "segment",
"entriesLimit": 4,
"entriesCount": -1,
"available": false,
"created": 1588054131,
"updated": 1588054131
}],
"available": true,
"created": 1588054131,
"updated": 1588054131
}