algoliasearch-helper-js icon indicating copy to clipboard operation
algoliasearch-helper-js copied to clipboard

Clarify rule for setting facet types

Open bobylito opened this issue 8 years ago • 2 comments

Currently, a facet can be set to multiple type. But it doesn't work properly due to the implementation of disjunctive and hierarchical facets.

Proposition: enforce a single type, and document it.

bobylito avatar Dec 14 '16 09:12 bobylito

Do you mean by enforce => Throw?

vvo avatar Dec 14 '16 16:12 vvo

Yes I would say. But there is gradiant of options like not letting the user do it but do not break anything (that's a silly one I guess)

bobylito avatar Dec 14 '16 19:12 bobylito