I have a following code,
filter="search.ismatch('Paris\-l''Hopital*', 'DestinationAddress/City', 'full', 'all')"
This filter should give me the record that has City with the name Paris-l'Hopital. Please note i am escaping the single quote in the middle of the search term with another single quote. Hiphen is escaped using backslash. Moreover the city field uses Microsoft Analyzer.
While i can see the record exists in the search index i cannot understand why this filter doesnt return the record i am expecting. Any input will be highly appreciated.
References https://docs.microsoft.com/en-us/azure/search/search-query-odata-full-text-search-functions https://docs.microsoft.com/en-us/azure/search/query-simple-syntax
Thank you