Java high level rest client - If I am searching from multiple indices and one of my index is not present.so,I am getting "no such index" exception, instead of exception I want the documents from other indices which are present. IS IT POSSIBLE?

Let, I am searching from 3 indices and one of the index is not present, So I am getting "type=index_not_found_exception, reason=no such index" exception but I have some documents present in another two indices which matches with the search-key.

So my question is - is there any way so that instead of exception I can get the results which are matching from other 2 indices.

Can you make the title shorter?

Are you using concrete index names or wildcards?
May be using index aliases would be a better choice?

Yes, I am using concrete index names.

And don't know how to use alias,let me check.
Thanks

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