The attribute passed as
attribute must be present in attributesForFaceting on the Algolia dashboard or configured via the API.Usage
Connector Options
The name of the attribute in the records.
How the filters are combined together.
The max number of items to display.
Whether to display a button that expands the number of items.
The max number of items to display when showing more items.
How to sort refinements. Possible values:
count, isRefined, name:asc, name:desc.You can also use a sort function that behaves like the standard JavaScript compareFunction.Escapes the content of the facet values.
Function to transform the items passed to the templates.
Render Options
The list of filtering values returned from Algolia API.Each item has:
value: The value of the refinement list itemlabel: Human-readable value of the itemhighlighted: Human-readable highlighted valuecount: Number of matched results after refinement is appliedisRefined: Indicates if the list item is refined
Toggles the selected refinement.
Searches for values inside the list.
true if the values are from an index search.true if a refinement can be applied.true if the menu is displaying all items.Toggles the number of values displayed between
limit and showMoreLimit.true if the toggleShowMore button can be activated.Indicates whether the results are exhaustive (complete).
Creates the URL for the next state for a selected refinement.
Sends an event to the Insights middleware.
The options passed to the connector.