I have an application that persists its Data in an Aerospike database but in the first run of my application, I must create all Indices. Now I want to know is there any right approach to create these indices by My code? I know there is a CreateIndex method but I want to know the existence of indices and then create the absences.
Is there any way to get all names of indexes from the server? if the answer is no can I run an AQL query such as:
show indexes
by my client directly?