Currently when using the OR operator, with a facet selected, the facet count for other options is 0. Elasticsearch can supposedly handle multi-select faceting similar to Apache Solr's tagging and excluding.
http://stackoverflow.com/questions/8908325/elasticsearch-excluding-filte...
What I want:
(-) Article
Basic page (5)
Blog entry (3)
What I'm getting:
(-) Article
Basic page (0)
Blog entry (0)
My settings are: OR operator, 0 minimum count, add facet for missing values (other facets only show with this enabled, makes it seem like the OR operator is not working correctly).
Comments
Comment #2
blake.thompson commentedI attached a patch that seems to fix my issue with the OR operator and facet count. It's definitely possible it creates other issues with more complicated search setups though.
Comment #3
anrikun commentedActually OR operator does not work at all!
The only necessary setting here should be OR operator, not 0 minimum count, nor facet for missing values.
Here 's a patch that should make it work.
Comment #4
anrikun commentedComment #5
anrikun commented