Hi,

We are using Elasticsearch 1.3.2 and having issues running queries with 
aggregations on unmapped fields. Some documents in the index will have this 
nested aggregation field but some will not. Did some initial research but 
did not find a way to tell ES to ignore unmapped fields in aggregations. 
Looks like there is a setting to ignore unmapped fields for sort fields but 
not for aggregation fields. 

This is the exception that am getting

      "status" : 500,
      "reason" : 
"RemoteTransportException[[serverXXXX][inet[/serverXXXX:9300]][search/phase/query]];
 
nested: AggregationExecutionException[[nested] nested path [fieldName] not 
found]; "


According to this 
<https://github.com/elasticsearch/elasticsearch/issues/2569>, aggregations 
should work fine on unmapped fields. Is that in a different version of ES?

Any input is appreciated.

Thanks,
Shravanthi


-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/976d9964-c6fe-4953-99da-bf470b887a0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to