Finally I think I have solved it!!!! Pretty sure this is it? Its a BUG :-(
Facets with large value counts (> 2 billion) return a negative number #4856 https://github.com/elasticsearch/elasticsearch/issues/4856 On Wednesday, September 24, 2014 2:27:55 PM UTC+1, [email protected] wrote: > > Restarted the ES cluster. Same result. > > Now I am completely confused. A count of -2143083582 doesn't make much > sense to me. Sigh > > > On Wednesday, September 24, 2014 2:23:58 PM UTC+1, [email protected] > wrote: >> >> Yeah, forgot about that! Thanks. >> >> Got this result, which is not right! Before I waste any more time I will >> restart my ES cluster.... >> >> >> { >> "took": 8894, >> "timed_out": false, >> "_shards": { >> "total": 232, >> "successful": 232, >> "failed": 0 >> }, >> "hits": { >> "total": 7556182409, >> "max_score": 0, >> "hits": [] >> }, >> "facets": { >> "terms": { >> "_type": "terms", >> "missing": 0, >> "total": 7556182409, >> "other": 8589934592, >> "terms": [ >> { >> "term": "type1", >> "count": -2143083582 >> }, >> { >> "term": "type2", >> "count": 1077854963 >> }, >> { >> "term": "type3", >> "count": 31476436 >> } >> ] >> } >> } >> } >> >> -- 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/fb43c693-6f38-49d0-8799-bdb65cf9ad9e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
