• Not Answered

Azure search query use in sitecore 9.1.1 for finding full text search

Hi,

I am using Sitecore 9.1.1 with azure search i am facing one issue that i am not able to find whole phrase and it is showing unexpected result with Contain() method in sitecore. I did some R&D and check result on azure portal where sitecore creating indexes and found that if we are using

"queryType=full&$count=true&searchFields=primary_authors_s&$select=primary_authors_s&search=primary_authors_s:Dell*" 

query then we are able to find result like full text search but i am not able to find exact result for phrase so that i added my search with double quotes then it is showing exact result 

 

for example  

"queryType=full&$count=true&searchFields=primary_authors_s&$select=primary_authors_s&search=primary_authors_s:"Dell data found in my search" 

 

But in my solution it is not working i am not able to get result but i expected instead of this showing unexpected result. Kindly let me know how i can get exact result in azure search in sitecore 9.1.1 version or please let me know how can i use ""queryType=full&$count=true&searchFields=primary_authors_s&$select=primary_authors_s&search=primary_authors_s:Dell*" in my code through Sitecore API.

 

Thanks in advance.

2 Replies