No Active Shard error when using Java Api for Search

Hey Everyone,

I am getting the error of No active shards when I am using Java Api to
perform search
on the elasticsearch.

What is the simple rule I should follow to avoid these problems..?

Thanks in advance,

this could be anything. Can you provide more info like post your cluster
state and what index you are searching against, does it work if you go to
the REST API directly?

simon

On Saturday, July 28, 2012 1:57:05 AM UTC+2, ajasuja wrote:

Hey Everyone,

I am getting the error of No active shards when I am using Java Api to
perform search
on the elasticsearch.

What is the simple rule I should follow to avoid these problems..?

Thanks in advance,