Queries the entries of a custom analyzer.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:DescribeUserAnalyzer |
*Analyzer
|
None | None |
Request syntax
GET /v4/openapi/user-analyzers/{name}/entries HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
Yes |
The name of the analyzer. |
"kevin_test" |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| word |
string |
No |
The entry key. |
"kevintest" |
| pageNumber |
integer |
No |
The page number. The default value is 1. |
1 |
| pageSize |
integer |
No |
The number of entries to return on each page. The default value is 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| result |
object |
The entries of the custom analyzer. For more information, see UserAnalyzerEntry. |
[ { "cmd": "add", "key": "kevintest", "value": "kevin test", "created": 1536690285, "updated": 1537348987, "status": "ACTIVE", "splitEnabled": true } ] |
| RequestId |
string |
The request ID. |
516A02B7-2167-8D92-12D0-B639A2A0F3C5 |
Examples
Success response
JSON format
{
"result": [
{
"cmd": "add",
"key": "kevintest",
"value": "kevin test",
"created": 1536690285,
"updated": 1537348987,
"status": "ACTIVE",
"splitEnabled": true
}
],
"RequestId": "516A02B7-2167-8D92-12D0-B639A2A0F3C5"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.