'instant search dome how to apply OR in typesense
i have following menu in my dashboard page main menu
and each main menu has some sub menus
like this image
when i click multiple main menu and sub menu type sense generate query like this to get results in api call
filter_by: "cryptoScoreCoarse:=[Unacceptable,Caution] && cryptoScore:=[Broken]"
now i want to make it use OR operator instead of &&,but i dont how can i do this? any idea or suggestion? thanks in advance,here is the screen shot of network tab when api call made
network tab sceenshot
Solution 1:[1]
You want to use the operator prop for the RefinementList widget to change the OR to an AND as described here.
<RefinementList
// ...
operator="and"
/>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | ErJab |
