I have a custom search webpart which returns the results based on the search input from a text box. The search is performed on a managed property called "CustomerName". When the customer name has apostrophe " ' " in its text, the search results
are not returned because of the wrong query formation.
I need to use a escape sequence and pass the search query. Can anyone help me how to form the query for this ?
Example: Customer name : A'BCD