Filtering across indices

Hi,

I am trying to perform a filtered aggregations across multiple indices and
types and am coming across a problem when filtering on fields that exist in
one type and not another. The query fails to parse with the error "failed
to find geo_point field [place]" when trying to use the geo bounding box
filter. Steps to recreate the problem can be found
at https://gist.github.com/owainb/fb58a7703a73b456b887.

Can anyone suggest a way to achieve this type of filtering? If the field
doesn't exist in a document then I don't want the document to be included
in the aggregation result, and I need the filter to only apply to the
aggregation.

Thanks.

Elasticsearch Version: 1.3.0
OS: Linux 32-bit
JRE: 1.7.0_65

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0f11eaab-f9aa-433a-a854-402e5e4a2cc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

If anyone else comes across this, there is already a similar issue raised
at missing not working in filters · Issue #2801 · elastic/elasticsearch · GitHub

On Monday, August 4, 2014 4:43:07 PM UTC+1, Owain Braddick wrote:

Hi,

I am trying to perform a filtered aggregations across multiple indices and
types and am coming across a problem when filtering on fields that exist in
one type and not another. The query fails to parse with the error "failed
to find geo_point field [place]" when trying to use the geo bounding box
filter. Steps to recreate the problem can be found at
Filtering points across indexes · GitHub.

Can anyone suggest a way to achieve this type of filtering? If the field
doesn't exist in a document then I don't want the document to be included
in the aggregation result, and I need the filter to only apply to the
aggregation.

Thanks.

Elasticsearch Version: 1.3.0
OS: Linux 32-bit
JRE: 1.7.0_65

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cab30410-bc86-478e-899a-1998b33e64bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.