Elasticsearch Histogramfacet doesn’t appear to support all_terms = true (i.e: return facetvalue / bucket even though count=0)
Is this correct?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, this is correct. However, if you are not using relevancy to sort your results you can move your query into the top-level
filterelement and putmatch_allinto the top-levelqueryelement. For example, for following request will return two histograms – one only with elements that correspond to the query and another one for entire index: