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

26,094

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.

Share:
26,094

Related videos on Youtube

Spadon_
Author by

Spadon_

Updated on June 30, 2020

Comments

  • Spadon_
    Spadon_ almost 4 years

    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

  • srinivas
    srinivas over 7 years
    The _settings query is not returning the analysed/not_analyzed setting of each field type
  • WaZaA
    WaZaA almost 7 years
    Right, if no specific analyzer has been set on the index. If a specific analyzer are set, _settings query return all details about analyzer.