Does Yext Answers support dynamic facets? I.e. the ability to show different filters based on the search query?
For example:
The ability to configure which filters appear in vertical search based on the search query.
For example, assume there is a vertical for ‘Products’.
Within this vertical, if I search for “Padlocks” I want to only display filters that are relevant to Padlocks. E.g. Size, material, color.
Within this vertical, if I search for a different type of product, say “cables”, I want to only display filters that are relevant to “cables” e.g. type, length, copper, fiber optic, etc.
Thanks.
Hey Lenny,
Yes! Facets are dynamic by default, adjusting to the result set returned for a given query. A certain facet will only appear if the results returned have values for that particular field for the user to filter on.
In this example, assuming facets were enabled for all of these fields in the backend, if you searched “Padlocks” and none of the entities that returned have values for fields like type, length, copper, etc., then those facets will not be visible.
If you were to then search “cables”, and these entities do have values for those fields, then the facets would appear for this search.
Best,
DJ
1 Like