You can search for any word or phrase on a Web site by just ust typing the word or phrase into a query form and clicking the
button to execute the query (for example, the Execute Query button on the sample query form). Searches produce a list of files
that contain the word or phrase no matter where they appear in the text.

This list gives the rules for formulating queries:

Multiple consecutive words are treated as a phrase; they must appear in the same order within a matching document.

Queries are case-insensitive, so you can type your query in uppercase or lowercase.

You can 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. For example, if you searched
for Word for Windows, the results could give you Word for Windows and Word and Windows, because for is a
noise word and appears in the exception list.

Punctuation marks such as the period (.), colon (:), semicolon (;), and comma (,) are ignored during a search.

To search for a word or phrase containing quotation marks, enclose the entire phrase in quotation marks and then
double the quotation marks around the word or words you want to surround with quotes. For example, World-Wide
Web or Web searches for World-Wide Web or Web.

You can add 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, Abbott and Costello will match pages with the phrase, not pages that match the Boolean expression. In
addition to being an operator, the word and is a noise word in English.

The NEAR operator is similar to the AND operator in that NEAR returns a match if both words being searched for
are in the same page. However, the NEAR operator differs from AND because the rank assigned by NEAR depends
on the proximity of words. That is, the rank of a page with the searched-for words closer together is greater than or
equal to the rank of a page where the words are farther apart. If the searched-for words are more than 50 words apart,
they are not considered near enough, and the page is assigned a rank of zero.

The NOT operator can be used only after an AND operator in content queries; it can be used only to exclude pages
that match a previous content restriction. For property value queries, the NOT operator can be used apart from the
AND operator.

The AND operator has a higher precedence than OR. For example, the first three queries are equal, but the fourth is
not:

a AND b OR c
c OR a AND b
c OR (a AND b)
(c OR a) AND b

Note The symbols (&, |, !, ~) and the English keywords AND, OR, NOT, and NEAR work the same way in all languages
supported by Index Server. Localized keywords are also available when the browser locale is set to one of the following six
languages:

Property value queries can be used to find files that have property values that match a given criteria. The properties over which
you can query include basic file information like file name and file size, and ActiveX properties including the document
summary (abstract) that is stored in files created by ActiveX-aware applications.

Regular expression property queries consist of a number sign (#), a property name, and a regular expression for the
property value. For example, to find to find all of the video (.avi) files, issue the query #filename *.avi. Regular
expressions will never match the special properties contents (#contents) and all (#all). There may also be additional
format-specific properties that cannot be matched (for example, #HtmlHRef for HTML pages).

ActiveX documents with a vectorprop value
in which all values in the vector are greater
than 15

Vectors where at least one value matches a
criteria

@vectorprop =^s 15

ActiveX documents with a vectorprop value
in which at least one value is 15

Be sure to use the pound (#) character before the property name when using a regular expression in a property value,
and an at (@) character otherwise. The equal (=) relational operator is assumed for regular-expression queries.

File name (#filename) is the only property that supports regular expressions with wildcards to the left of text. This is the
only case where wildcards to the left are efficient.

Date and time values are of the form yyyy/mm/dd hh:mm:ss. The first two characters of the year and the entire time
can be omitted. Dates and times are in Greenwich Mean Time (GMT).

Dates and times relative to the current time can be expressed with a minus (-) character followed by zero or by more
integer unit and time unit pairs. Time units are expressed as: (y) for years, (m) for months, (w) for weeks, (d) for days,
(h) for hours, (n) for minutes, and (s) for seconds.

Currency values are of the form x.y, where x is the whole value amount and y is the fractional amount. There is no
assumption about units.

Boolean values are (t) or (true) for TRUE and (f) or (false) for FALSE.

Vectors (VT_VECTOR) are expressed as an opening brace ({), followed by a comma-separated list of values, then a
closing brace (}).

Single-value expressions that are compared against vectors are expressed as a relational operator, then a (^a) for all of
or a (^s) for some of.

Numeric values can be in decimal or hexadecimal (preceded by 0x).

The contents property does not support relational operators. If a relational operator is specified, no results will be
found. For example, @contents Microsoft will find documents containing Microsoft, but @contents=Microsoft
will find none.