Get morphological analyzer - specific language

Prev Next

We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

Gets IndexProcessor (morphological analyzer), which creates indexes in a specific language.
The result of this operation can be used as an index option to create indexes by language when you create a domain.

GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/tokenizer/{languages}

Request

Request Parameters

Parameter Required Type Limitations Description
languages Y Array[string] Languages to use among those you can get via Get morphological analysis options - available languages Languages to create indexes in

Response

Field Type Description Note
- IndexProcessor Morphological analyzer information of the requested languages

Response status

HTTP status Description
200 OK (Successfully completed)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

Examples

Request Example

GET /CloudSearch/real/v1/tokenizer/korean%2Cthai HTTP/1.1
Host: cloudsearch.apigw.ntruss.com
accept:application/json
x-ncp-iam-access-key: cPMl0CYGgRYvEa8sylCj
x-ncp-apigw-signature-v2: +Ln++MqcKHckKli2y/bB76xLUu8qR9rLvo6j2yIYuYg=
x-ncp-apigw-timestamp: 1551453306138

Request Example

{
  "type": "hanaterm",
  "method": "sgmt",
  "option": "+korea +josacat +eomicat +thai"
}