Chapter 16, Using Search
429
Using the Query Operators
less than or equal
to (<=)
Finds documents in which a document
field is less than or equal to a specific
date or numeric value.
Created <= 6-30-96
Finds documents created on or before June
30, 1996.
<MATCHES>
Finds documents in which a string in a
document field matches the character
string you specify.
Ignores documents that contain partial
matches.
Does not rank documents for relevance.
<MATCHES> employee
Finds documents containing
employee
or
any of its stemmed variants such as
employees
.
<NEAR>
Finds documents that contain the
specified words. The closer the terms are
to each other in the document, the
higher the document’s score.
stock <NEAR> purchase
Finds any document containing both
stock
and
purchase
, but gives a higher score to a
document that has
stock purchase
than to
one that has
purchase supplies and stock
up
.
<NEAR/N>
Finds documents in which two or more
specified words are within N number of
words from each other. N can be an
integer up to 1000. Also ranks the
documents for relevance based on the
words’ proximity to each other.
stock <NEAR/1> purchase
Finds documents containing the phrases
stock purchase
and
purchase stock
.
Ignores documents containing phrases like
purchase supplies and stock up
because
stock
and
purchase
do not appear next to
each other.
When N is 2 or greater, finds documents
that contain the words within the range
and gives a higher score for documents
which have the words closer together.
NOT
Finds documents that do not contain a
specific word or phrase.
Note:
You can use
NOT
to modify the
OR
or the
AND
operator.
surf AND NOT beach
Finds documents containing the word
surf
but not the word
beach
.
Table 16.4 Query language operators
Operator
Description
Examples
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...