I am using the Azure Search C# SDK version 5.0.1. I am trying to perform a simple query that will search a field for a value that starts with something. It would be equivalent to the SQL query of Select * From mytable Where myproperty = 'val%'. According to the Simple Query Syntax documentation (located here) this should be possible using a wildcard. I cannot figure out how to get it working. I have tried to populate the Filter property of the SearchParameters in the following ways:
Does anyone know of a way to perform wildcard searches using Azure Search .NET SDK with simple query syntax?
Wildcards work in searches, not filters. You need to use it in the searchText parameter, not the Filter parameter.