algoliasearch-client-android
algoliasearch-client-android copied to clipboard
searchDisjunctiveFaceting's response does not follow the specs
A customer on support reported that ISA's addFacetRefinement used with isDisjunctiveFacet=true does return hits with only the selected facet values.
He's mostly right: the documented parameter facets is returned with the currently refined facets, while the disjunctive facet values are returned in the undocumented disjunctiveFacets parameters.
Compare with IS-iOS using the swift client, which follows the specification:

I see two potential solutions:
- If we consider that having both attributes brings value (and I believe so), we should open the conversation with the other API client maintainers to return both results for disjunctive faceting queries
- If we consider this is useless, we should update the client to put disjunctive facets in facets (keeping the
disjunctiveFacetsattribute for BC until the nextmajorversion).
@clement-leprovost, I would love your opinion on this. 🙂
@clement-leprovost, What's your take on this one? :grin:
Sorry, no real opinion... 😬