Elasticsearch : How to list each analyzer used by a specific index

Spadon_ picture Spadon_ · Mar 25, 2014 · Viewed 22.8k times · Source

I need to find out which analyzer (type, language..) is configured in a specific index. I tried http://localhost:9200/wazzup/_mapping but it only gives information about field names/types.

Thanks

Answer

javanna picture javanna · Mar 25, 2014

The analyzer are part of the index settings, you can retrieve them using the get index settings api:

curl -XGET 'http://localhost:9200/wazzup/_settings'

Also, if you want to see how they behave, have a look at the analyze api.