searchDisjunctiveFaceting's response does not follow the specs
PLNech opened this issue ยท 3 comments
PLNech commented
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
disjunctiveFacets
attribute for BC until the nextmajor
version).
PLNech commented
@clement-leprovost, I would love your opinion on this. ๐
PLNech commented
@clement-leprovost, What's your take on this one? ๐
clement-leprovost commented
Sorry, no real opinion... ๐ฌ