Azure search get starts with data from query

290 Views Asked by At

I am using azure search in my project.I just want to show only starts with query data in my autocomplete field.Example ; when user writes 'advert' on the autocomplete field it also shows 'Addresable Advertising' as suggestion.Here is my code below :

 var response = await indexClient.Documents.SearchAsync<Model>
            (s+"*", new SearchParameters() { Top = size, Skip = page * size, Filter = "IsVerified eq true" });
0

There are 0 best solutions below