I have a boolean field 'flag' which I want to filter for facet field 
'sub_type'. But the total count is zero though there are some documents 
satisfying the criteria. 
But if I apply facet-filter on any other field (non-boolean) I get the 
results. Is there any work around for this?
 
Json of Facet looks like :
 
 "facets" : {
    "sub-type" : {
      "terms" : {
        "field" : "sub-type",
        "size" : 10
      },
      "facet_filter" : {
        "term" : {
          "flag" : true
        }
      },
      "global" : true
    }
  }
 
Thanks

-- 
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/38fc93df-d984-4d2c-a754-2c785088d86c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to