I have the default Analyzer set for my index and the fields in Azure Search.
I have following values for a field - name.
- Demo 001
- Demo Site 001
- 001 Demo Site
I am trying to get matching values for following . My sample queries are
$count=true&queryType=full&searchFields=name&searchMode=any&$select=name,id&$skip=0&$top=10&search=name:/"Demo(.*)/
I could get all the results
- In order to get the query work for getting only
Demo S
, that isDemo Site 001
. What change I should make to the Query? Or what change I should make to the analyzer? - If I want to get a query working with
001
, 001 and a space how can I modify the query? - Finally is there any way I could tell the search that I need only the properties which starts with
001
?
Is it possible to achieve all the above three conditions with a single setup?