Ideally, I'd like to see these records grouped under a nil key or something
automatically.


------
Mehul Kar
@mehulkar

On Wed, Feb 4, 2015 at 5:31 PM, Mehul Kar <[email protected]> wrote:

> Hello,
>
> I'm looking to query an index for groups by a specific key. There are
> documents that have nil values in in these queries, and by default ES
> doesn't return these records in the aggregations key of the response.
>
> I've tried applying a `missing` filter, and it looks like the `hits` key
> in the response includes all the records, but the aggregations key does
> not.
>
> What is a good strategy for this? Will I have to post process these
> results? Index blank strings for nil values?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "elasticsearch" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elasticsearch/wfMqQZGW2Ng/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/907ce471-59a7-4832-bd42-e1bf3fc28833%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/907ce471-59a7-4832-bd42-e1bf3fc28833%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAG7%3DhdizQ0198fLhs9EZSUUBwk6FrLM%3Dvg-LtQ2HnV_WLWirrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to