Add support for sending facet options to the backend #753

Closed
wants to merge 4 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

dcwatson commented Mar 14, 2013

This is similar to toastdriven#360, but allows you to pass options per-facet, and is not SOLR-specific. It includes test/documentation updates, and implementations for SOLR and ElasticSearch (Whoosh does not support faceting anyway).

Contributor

acdha commented Mar 14, 2013

Thanks for the pull request - this looks like a good idea to me, particularly for avoiding more kwargs on search().

Contributor

dcwatson commented Mar 19, 2013

Some useful facet options in ES are applied at the facet level, not the "terms" level. Specifically, the "Scope" and "Facet Filter" sections of http://www.elasticsearch.org/guide/reference/api/search/facets/.

dcwatson closed this in c86fbce May 4, 2013

dcwatson deleted the dcwatson:facet-options branch May 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment