You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The concept of "disjunctiveFacets" & "disjunctiveFacetsRefinements" are causing issues if you want to merge two search parameters. This is something we want to do if we are doing federated search; where refinements are kept bottom-up, unless a refinement was set by a widget inside a lower index.
We can solve this by the following:
remove xxxFacets, but instead put an empty (truthy) value in a refinement on initialization
facets gets set based on the refinement only, and does not have getters & setters anymore
Right now we are working around this issue by setting the refinement to empty on getConfiguration and are going to change the toggleFacetRefinement & removeFacetRefinement functions to keep an empty array instead of clearing. This works, but could be brittle.
This discussion was converted from issue #5713 on July 11, 2023 15:36.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The concept of "disjunctiveFacets" & "disjunctiveFacetsRefinements" are causing issues if you want to merge two search parameters. This is something we want to do if we are doing federated search; where refinements are kept bottom-up, unless a refinement was set by a widget inside a lower index.
We can solve this by the following:
xxxFacets
, but instead put an empty (truthy) value in a refinement on initializationfacets
gets set based on the refinement only, and does not have getters & setters anymoreRight now we are working around this issue by setting the refinement to empty on
getConfiguration
and are going to change thetoggleFacetRefinement
&removeFacetRefinement
functions to keep an empty array instead of clearing. This works, but could be brittle.Beta Was this translation helpful? Give feedback.
All reactions