Document query operators and keys

Document query operators and keys are used in query expressions when more than one value is being searched, to indicate how the values should be processed.

For example, the and operator is used in a query to indicate that TEXTML Server must retrieve only documents that contain all the listed values.

Table 1 lists the operators and keys used by TEXTML Server, each of which is described in the pages that follow.
Table 1. TEXTML Server query operators and keys
Operator/key Use with
and (conjunction operator) Word, string, date, time, number indexes.
or (inclusion operator)
andnot (exclusion operator)
adj (adjacency operator) Word indexes.
near (proximity operator)
frq (frequency operator)
unit (advanced conjunction operator)
andkey (conjunction key) All types of indexes.
orkey (inclusion key)
andnotkey (exclusion key)
unitkey (advanced conjunction key) Unit indexes.
alldocs (inclusion key) Applies to andnotkey only.