I have some indexes created for my application. I needed to alter an index and I have done that.
But couchbase sdk is giving me IndexNotFoundException.
com.couchbase.client.core.error.IndexNotFoundException: Index not found at com.couchbase.client.java.AsyncUtils.block(AsyncUtils.java:51) at com.couchbase.client.java.Cluster.query(Cluster.java:393)
I have restarted the couchbase server in local env and this issue is fixed.
But in a Prod environment, I may need to refresh the indexes without restarting.
BUILD INDEX ON BucketName (IndexName1, IndexName2, IndexName3)
Note: I am manually able to execute the same query in couchbase query editor without any issue .
It didnt work. can you tell me what are the other options available without restarting couchbase server?
Thanks in advance