6 September 2011

How to get settings for specific index in ElasticSearch?

Solution works for ElasticSearch 0.13.1(it should works with newer and older version )

Let's say that you have index at   /blog/user/ on  your server (for example   http://localhost:9200/) so to get settings you need input:

$ curl -XGET 'http://localhost:9200/blog/user/_settings?pretty=yes'

  ?pretty=yes - I used to make result more readable