Public API Request to see result from specify domain-filter

We have added domain-filter in our webpage.

<meta class="swiftype" name="domain-filter" data-type="string" content="Doc1" />
<meta class="swiftype" name="domain-filter" data-type="string" content="Doc2" />

How can I use Public API request to get results from just Doc1?

Can someone give a sample?

Gaurav Soni

Hey Gaurav,

Sorry for the delay! The additional syntax for passing a filter option when making a public request will be like so:


Crawler-based engines have a default document type value of page, so your request might look like:[page][domain-filter]=Doc1

For additional detail, you can reference the following documentation links: