Azure Search in the portal returns results when SDK does not

Category: azure search


ChrisMissal on Thu, 09 Nov 2017 18:28:42

When in the Azure Portal, I can see filtered results when I add to the query string. When I attempt the same results via the SDK, I get no results returned. I assume it's something wrong with my SearchParameters object, but I'm unable to determine why the results are different. What would cause this?


ChrisMissal on Thu, 09 Nov 2017 19:12:09

I now realize why the Azure Portal is returning results, it's turning my Query String into a search term. I'm attempting to use this filter:

myCollection/any(, 'development'))

I can change it to:

myCollection/any(, 'development'))

And I still get the same results. So it's not parsing my filter, just looking for keywords.


So now if I prefix my Query String with "$filter=" I get no results in either place. So perhaps there are a couple "gotcha's" when using ?

ChrisMissal on Thu, 09 Nov 2017 19:37:05

The final piece to my puzzle was that filters are case-sensitive. I found another forum post on that, which referenced the User Voice page ( which I have up-voted.