Creates a custom analyzer.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:CreateUserAnalyzer |
*Analyzer
|
None |
None |
Request syntax
POST /v4/openapi/user-analyzers HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
|
name |
string |
No |
The name of the analyzer. |
jmbon_analyzer |
|
business |
string |
No |
The name of the basic analyzer. |
Chinese-General analyzer |
|
businessType |
string |
No |
The type of the basic analyzer. Valid values: AUTO, MODEL, SYSTEM, and USER. |
AUTO |
|
type |
string |
No |
The engine type. Valid values: HA3 and ES. |
HA3 |
|
businessAppGroupId |
string |
No |
The application ID for the custom model-based analyzer. |
110123123 |
|
dryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|
||
|
result |
object |
The returned result. |
{} |
|
RequestId |
string |
The request ID. |
98724351-D6B2-5D8A-B089-7FFD1821A7E9 |
Examples
Success response
JSON format
{
"result": {},
"RequestId": "98724351-D6B2-5D8A-B089-7FFD1821A7E9"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.