Understanding Search Modifiers


Verity's search modifiers cause the search engine to behave slightly differently from how it would otherwise. The search modifiers include the following:

  • CASE

  • MANY

  • NOT

  • ORDER

The CASE modifier forces Verity to perform a case-sensitive search, even if the search words are all lowercase or all uppercase. Here are some examples:

 CRITERIA="<CASE>smoking" CRITERIA="AND(<CASE>smoking,<CASE>policy)" 

Verity often runs searches that are case-sensitive even when it doesn't use the CASE operator.

The MANY operator ranks documents based on the density of search words or search elements found in a document. It is automatically in effect whenever the search type is SIMPLE, and it cannot be used with the concept operators AND, OR, and ACCRUE. Here are some examples:

 CRITERIA="<MANY>(smoking,policy)" CRITERIA="<MANY> smoking" 

The NOT modifier causes Verity to eliminate documents found by the search word(s), such as

 CRITERIA="NOT smoking" CRITERIA="smoking NOT policy" CRITERIA="NOT(smoking,days)" CRITERIA="<NOT>(smoking,days)" 

Note that if you want to find documents that contain not smoking, you must indicate this to Verity by using quotation marks:

 CRITERIA="'not smoking'" CRITERIA="AND('not',smoking)" CRITERIA="AND(""not"",smoking)" 

When used with a PARAGRAPH, SENTENCE, or NEAR/N operator, the ORDER modifier indicates that your search words must be found in the specified order for the document to be considered a match. The following is an example:

 CRITERIA="<ORDER><PARAGRAPH>(smoking,policy)" 



Macromedia Coldfusion MX 7 Web Application Construction Kit
Macromedia Coldfusion MX 7 Web Application Construction Kit
ISBN: 321223675
EAN: N/A
Year: 2006
Pages: 282

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net