25

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

javanna
  • 59,145
  • 14
  • 144
  • 125
Spadon_
  • 495
  • 2
  • 5
  • 11

1 Answers1

51

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.

javanna
  • 59,145
  • 14
  • 144
  • 125
  • 11
    The _settings query is not returning the analysed/not_analyzed setting of each field type – srinivas Jan 16 '17 at 09:23
  • 8
    Right, if no specific analyzer has been set on the index. If a specific analyzer are set, _settings query return all details about analyzer. – WaZaA Jun 29 '17 at 21:54