Hello,
It appears that your fields you are searching for across multiple indexes
and types needs to exist in each of the indexes being searched against?
If I try to search for a field name foo in both index A and B but only A has
it I end up getting a Shard Failure, here is an example of an error:
2010-07-07 15:36:02,800 [http-localhost%2F127.0.0.1-8084-1] ERROR
search.SearchService - shard
[[aa452a3a-0201-461f-952d-a41d44d3e375][backstage][2]], reason
[RemoteTransportException[[Tana Nile][inet[/]][search/phase/query/id]];
nested: QueryPhaseExecutionException[[backstage][2]: query[field1:tim
field2:tim field3:tim field4:tim field5:tim field6:tim
field7:tim],from[0],size[1]: Query Failed [Failed to execute main query]];
nested: ]
Is this something that should be possible?
Thanks
kimchy
(Shay Banon)
July 8, 2010, 8:20am
2
It might be that ES is too restrictive in some cases, can you send me the
query you execute?
-shay.banon
On Thu, Jul 8, 2010 at 1:56 AM, Samuel Doyle samueldoyle@gmail.com wrote:
Hello,
It appears that your fields you are searching for across multiple indexes
and types needs to exist in each of the indexes being searched against?
If I try to search for a field name foo in both index A and B but only A
has it I end up getting a Shard Failure, here is an example of an error:
2010-07-07 15:36:02,800 [http-localhost%2F127.0.0.1-8084-1] ERROR
search.SearchService - shard
[[aa452a3a-0201-461f-952d-a41d44d3e375][backstage][2]], reason
[RemoteTransportException[[Tana Nile][inet[/]][search/phase/query/id]];
nested: QueryPhaseExecutionException[[backstage][2]: query[field1:tim
field2:tim field3:tim field4:tim field5:tim field6:tim
field7:tim],from[0],size[1]: Query Failed [Failed to execute main query]];
nested: ]
Is this something that should be possible?
Thanks