This query specifies only one term for retrieving all documents which contain the term. For example,
namazu
This query specifies two or more terms, and retrieves all
indexed documents that contain both terms. You can insert the
and
operator between the terms.
For example,
Linux and Netscape
Because the and
operator is assumed between terms separated by
one or more spaces, it can be omitted.
This query specifies two or more terms, and retrieves all
indexed documents which contain either one of the terms.
You insert the or
operator
between the terms in your query. For example,
Linux or FreeBSD
This query specifies two or more terms, and retrieves all
indexed documents which contain the first term but do not
contain the following terms. You insert the
not
operator between the terms
in the NOT query. For example,
Linux not UNIX
You can group queries by surrounding them with parentheses. The parentheses should be separated from the terms by one or more spaces. For example,
( Linux or FreeBSD ) and Netscape not Windows
You can search for a phrase composed of two or more terms
by surrounding the terms with double quotes,
"..."
,
or with braces, {...}
.
For example,
{GNU Emacs}
In Namazu, the accuracy of phrase searching is not 100%, so erroneous results may be returned.
The are three types of substring match searches.
inter*
(terms which begin with inter
)*text*
(terms which contain text
)*net
(terms which end with net
)
You can use regular expressions for pattern matching. The
regular expressions must be surrounded by slashes:
/.../
.
Namazu uses Ruby's
regular expressions engine. It offers
Perl compatible flavor.
For example,
/pro(gram|blem)s?/
You can limit your search to specific fields such as
Subject:
, From:
,
Message-Id:
. This type of query is especially
convenient for Mail/News documents. For example,
+subject:Linux
Linux
in a Subject:
field)+subject:"GNU Emacs"
GNU Emacs
in a Subject:
field)+from:foo@bar.jp
foo@bar.jp
in a From:
field)
+message-id:<199801240555.OAA18737@foo.bar.jp>
Message-Id:
)
TCP/IP
. Since this handling isn't complete,
you can use TCP and IP
instead of
TCP/IP
, but that may cause noisy results.and
,
or
or not
simply as terms, you can
surround them with double quotes,
"..."
, or braces,
{...}
.
This search system is powered by Namazu