Hi I am using 6.0.1 version of elastic search. Can someone help me for deleting index using java api.
6.0.1 version doesn't have below line of code
DeleteIndexResponse deleteIndexResponse = client.indices().delete(deleteIndexRequest);
Hi I am using 6.0.1 version of elastic search. Can someone help me for deleting index using java api.
6.0.1 version doesn't have below line of code
DeleteIndexResponse deleteIndexResponse = client.indices().delete(deleteIndexRequest);
You can do something like this I think:
client.getLowLevelClient().performRequest("DELETE", "/index", Collections.emptyMap());
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.