Handout 13
Handout 13
The Advanced Query Syntax (AQS) is used by Microsoft Windows Desktop Search (WDS) to help better
define and narrow searches. Using AQS is an easy way to narrow searches and deliver better result
sets. Searches can be narrowed by the following parameters:
Furthermore, search parameters can be combined using search operators. This handout explains the
query syntax, the parameters and operators, and how they can be combined to offer targeted search
results. The tables describe the syntax to use with WDS, as well as the properties that can be queried
for each file kind displayed in the Windows Desktop Search results window.
A search query can include one or more keywords, with Boolean operators and optional criteria. These
optional criteria can narrow a search based on the following:
The optional criteria, described in greater detail following, use the following syntax:
<scope name>:<value>
<file kind>:<value>
<property name>:<value>
Suppose you want to search for a document containing the phrase "Language and Grammar I" created
by Mr Oswald or Ms Liza, and that you saved to the folder My Documents. The query may look like
this:
You can also limit your searches to specific types of files, called file kinds. The following table lists the
most popular file kinds and offers examples of the syntax used to search for these kinds of files.
www.traductorado.edu.ar Page 1 of 3
Instituto Superior del Traductorado – DIEGEP 5649 Information Search Techniques
Boolean Operators
Search keywords and file properties can be combined to broaden or narrow a search with operators.
The following table explains common operators used in a search query.
The operators NOT and OR must be in uppercase and cannot be combined in one query (e.g., source
OR target NOT text).
Dates
In addition to searching on specific dates and date ranges using the operators described earlier, AQS
allows relative date values (like today, tomorrow, or next week) and day (like Tuesday or
Monday..Wednesday) and month (February) values.
www.traductorado.edu.ar Page 2 of 3
Instituto Superior del Traductorado – DIEGEP 5649 Information Search Techniques
You can search on specific properties of different file kinds. Some properties (like file size) are common
to all files, while others are limited to a specific kind. The following tables list these properties by file
kind.
kind:everything <property>:<value>
where <property> is a property listed below and <value> is the search term you specify.
Documents
These are properties common to documents. To limit the search to documents only, the syntax is:
kind:documents <property>:<value>
where <property> is a property listed below and <value> is the search term you specify.
www.traductorado.edu.ar Page 3 of 3