Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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

like image 384
Spadon_ Avatar asked Mar 25 '14 14:03

Spadon_


1 Answers

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.

like image 82
javanna Avatar answered Oct 30 '22 21:10

javanna