What is correct syntax to search for file name which are of document type. I am using following query.

abc kind : documents folder:c:\myfolder filename:abc

where "abc" is search string. Above query is not giving me correct results.



Re: Windows Desktop Search Development search for documents using AQS

Jonas Barklund [MSFT]

Your query should give you documents for which all of the four conditions are true:

  • They contain somewhere a word beginning with 'abc'.
  • Their kind is 'document'.
  • They are in a folder whose path begins with 'c:\myfolder'.
  • Their filename begins with 'abc'.

What is an example of an incorrect result that you are seeing