How to start a separate analyzer or filter in Elasticsearch?

I would like to see how different analyzers and filters respond to my input. I do not want to run all the analyzers defined for the field in my index mapping, I want to be able to run them 1) individually and 2) without reindexing.

It seems like this should be done as follows:

curl -XGET 'localhost:9200/_analyze?analyzer=standard' -d 'this is a test' 

as described in the Elasticsearch Analyze API , but this does not work for me. Has the API been modified in any way?

This is what I get:

 No handler found for uri [/_analyze?analyzer=standard] and method [GET] 
+4
source share
1 answer

Solved, it only works in Elasticsearch v 0.19.

+3
source

Source: https://habr.com/ru/post/1400397/


All Articles