Running a query applying an OR operator between search and filter

Category: azure search


nievem on Fri, 06 May 2016 11:06:19


Is there a way to run a query so that it will return results that correspond to the filter OR the search fields I submit, rather than getting results that correspond to the combination of the search AND the filter I use?

Would appreciate any answer/help :)


nievem on Fri, 06 May 2016 12:01:13

Well, according to the search query overview (, this is simply not possible, as the page says:

"You can use searches and filters together or separately. If you use them together, the filter is applied first to the entire index, and then the search is performed on the results of the filter. "

This means sending 2 requests and aggregating their results.