How to check if an index and mapping exists in elasticsearch v6.0.1

(Phani Kumar Yadavilli) #1

How to check if an index already exists before creating an index in elasticsearch. I could not find any documentation on this. Please help.

(David Pilato) #2

(Phani Kumar Yadavilli) #3

Thank you for quick response. I am looking for Rest High Level Client java api. could you please let me know the documentation link.

(David Pilato) #4

It's not supported yet in the HLClient but it's trivial to implement. See

(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.