Answers for "elsticsearch get indexes"

5

elasticsearch show indexes

GET /_cat/indices

curl -X GET "localhost:9200/_cat/indices?pretty"
Posted by: Guest on September-11-2020
0

java program to get all cat indices in elasticsearch javadoc

GetIndexRequest request = new GetIndexRequest().indices("*");
GetIndexResponse response = client.indices().get(request, RequestOptions.DEFAULT);
String[] indices = response.getIndices();
Posted by: Guest on May-04-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language