Describes a custom analyzer in OpenSearch.
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
}Structure
| 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. Valid values: 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). |
| dicts[] | Object | The custom dictionaries for analysis. For more information, see UserDict. |
| available | Boolean | Specifies 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. |
该文章对您有帮助吗?