diff --git a/README.md b/README.md index e728be4abe3..f8c718d6f52 100644 --- a/README.md +++ b/README.md @@ -476,12 +476,14 @@ _Response :_ ``` -## TokenFilter : kuromoji_part_of_speech +## TokenFilter : ja_stop A token filter of type `ja_stop` that provide a predefined "_japanese_" stop words. *Note: It is only provide "_japanese_". If you want to use other predefined stop words, you can use `stop` token filter.* +_Example Settings:_ + ### example ```sh @@ -505,10 +507,18 @@ curl -XPUT 'http://localhost:9200/kuromoji_sample/' -d' } } } -} -' +}' +``` +_Example Request using `_analyze` API :_ + +```sh curl -XPOST 'http://localhost:9200/kuromoji_sample/_analyze?analyzer=katakana_analyzer&pretty' -d 'ストップは消える' +``` + +_Response :_ + +```json { "tokens" : [ { "token" : "消える",