Site server search query language
Using the search criteria "Boolean search" (Step #2), you can build a query using the advanced search syntax of Microsoft site server search. Highlights follow!
Boolean and proximity operators
Boolean and proximity operators can be used to create a more precise query.
To search for
both terms in the same page
access and basic -or- access & basic
pages with both the words "access" and "basic"
either term in a page
cgi or isapi -or- cgi | isapi
pages with the words "cgi" or "isapi"
the first term without the second term
access and not basic -or- access & ! basic
pages with the word "access" but not "basic"
both terms in the same page, close together
excel near project -or- excel ~ project
pages with the word "excel" near the word "project"
You can use parentheses to nest expressions within a query. The expressions in parentheses are evaluated before the rest of the query.
Use double quotes (") to indicate that a boolean or near operator keyword should be ignored in your query. For example, "Abbot and Costello" will match pages with the phrase, not pages that match the boolean expression.
The Not operator can only be used after an And operator in content queries; it can only be used to exclude pages that match a previous content restriction.
Wildcard operators are useful for finding pages with words similar to a given word.
To search for
words with the same prefix
pages with words that have the prefix "comput", such as "computer", computing", and so on.
words based on the same stem word
pages with words based on the same stem as "fly", such as "flying", "flown", "flew", and so on.
Miscellaneous tips on query syntax
Queries are case-insensitive: you can type your query in uppercase or lowercase.
You may search for any word except for those in the exception list (for English, this includes a, an, and, as, and other common words) which are ignored during a search. Words in the exception list are treated as placeholders in phrase and proximity queries.
Punctuation marks such as the period (.), colon (:), semicolon (;), and comma (,) are ignored during a search.
To use specially-treated characters ( (&), (|), (^), (#), (@), ($), ((), ()) ) in a query, enclose your query in quotes (").