Facet on nested object


(Marcin Dojwa) #1

Hi,

I have the following problem, I am trying to use date_histogram facet on
nested object. Please check the mapping, data, query and the result here:


The result for facet1 is empty, could you help me fix this issue ? I have
the same situation when I follow the example from here:
http://www.elasticsearch.org/guide/reference/api/search/facets/ (Facets
with the nested types), the result for facet1 is empty.

Thanks.
Best regards.


(Marcin Dojwa) #2

It's interesting, after upgrading ES from 0.19.3 to 0.19.4 the query works
fine and returns correct results.

2012/5/22 Marcin Dojwa m.dojwa@livechatinc.com

Hi,

I have the following problem, I am trying to use date_histogram facet on
nested object. Please check the mapping, data, query and the result here:
https://gist.github.com/99ca2a71742774d9786b
The result for facet1 is empty, could you help me fix this issue ? I have
the same situation when I follow the example from here:
http://www.elasticsearch.org/guide/reference/api/search/facets/ (Facets
with the nested types), the result for facet1 is empty.

Thanks.
Best regards.


(system) #3