VeggieMeat / search_api_elasticsearch

Clone of project at drupal.org/project/search_api_elasticsearch for better CI options than what D.O offers
16 stars 8 forks source link

Facet option count with OR operator #91

Open VeggieMeat opened 8 years ago

VeggieMeat commented 8 years ago

Original issue: https://www.drupal.org/node/2656356

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).