Does anyone know the correct way to escape special characters in AQS?
For example
folder:c:\Program Files
Potentially has 2 problems
1. The query is actually 2 terms - items in folder c:\Program AND items containing the word Files
2. The : after the C could imply that C is a property and that the query should match items where the value of it is \Program
I could try putting the bit that needs escaping in quotes e.g. folder:"C:\Program Files\" but this does not seem to work
For example if I index the Windows SDK a query for uispy in program files should return 4 results from the following query
store:file folder:"C:\Program Files\" name:uispy
But it actually returns none
Changing the query to
store:file folder:'C:\Program Files\' name:uispy
returns the correct 4 results, but is this correct? What happens if there is a ' in the folder name to search?