elastigo
elastigo copied to clipboard
handle ES5.1.1 json index info
ElasticSearch 5.1.1 returns index info in a JSON struct, rather than a newline delimited set of fields, in response to the query in Conn.GetCatIndexInfo().
Add GetCatIndexInfoEs5(), which parses the JSON, to handle this situation.