Can I run a filtered search on a subset of a collection, or on a group of collections?

Yes, SearchBlox offers a filter query parameter that lets you do a pre-query before you pass your search term, to limit the search results based on certain criteria. You can pass any regular search query through the filter URL parameter, or through a hidden form field.

URL parameter:

Title filter example:


URL filter example:


Hidden form field:
<input type="hidden" name="filter" value="title:CNN" />

<input type="hidden" name="filter" value="url:/travel/" />

Have more questions? Submit a request