If anyone else comes across this, there is already a similar issue raised at https://github.com/elasticsearch/elasticsearch/issues/2801
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 > 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+unsubscr...@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.