Patching rules will only change the rules that are specified in the request.
The above command returns a 200 Success response on success. For simplicity sake, a 200 Success response will be returned even if the item already exists.
PATCH https://ac.cnstrc.com/refined_filters/[filter_name]/[filter_value]?key=[your index key]§ion=[section]&response_section=facets
|filter_name||The name of the facet you'd like to patch facet configuration rules for.|
|filter_value||The value of the facet you'd like to patch facet configuration rules for.|
|section||Yes||The index section you'd like to retrieve results from (typically |
target field to specify if the rule should be applied to a facet group or facet option.
target is set to
facet_option you need to specifiy the parent
facet_group_name as well.
|slot_rules||With slot rules, you can pin a facet group or facet option to a particular position. Provide a |
|blacklist_rules||Remove matching items from recall.|
|rule||Yes||Rules can accept an object of the various rule specs as show in the above JSON example.|
|active||No||Your facet configuration rules can be defined but set to inactive if you wish by setting |
|target||Yes||Specifies if the rule should be applied to a facet group or option.|
|facet_group_name||No||This field is required if target is set to |