I am wondering what you are trying to achieve by saying “query rule on facet”
For example, one way you could leverage any text in the URL is using ruleContexts - for example:
- visit www.myshop.com/categories/dresses
- your frontend code takes
dresses from the URL
- your frontend code sends an extra search parameter
ruleContexts: ['dresses'] to Algolia
- triggers a Rule you’ve created with a consequence for this context
This is described here.
We may or may not be able to satisfy it, however it would be good to hear - what is your goal, what behavior are you trying to achieve?