Facets - Filtering with multiple options


I am developing Facets-filtering features by using reference of this article: https://swiftype.com/documentation/site-search/tutorials/faceted_search .

All is working fine but I want to know how we can pass the multi selected facets values to API link, below is the example link where Facets is ‘Asset-type’.


Please let me know how I can pass the multiple ‘Asset-type’ values in the API link ?

Karamveer Singh


Anybody have solution & Idea on my problem?


Hey @karamveer.singh.

There is a brief description of “parameter encoding” in the API Docs here: https://swiftype.com/documentation/site-search/overview#parameter_encoding, which I believe shows an example of this.

I think you would just pass multiple instance of that parameter, so, if you were going to pass both value1 and value2: