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:
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="<CASE>smoking"
CRITERIA="AND(<CASE>smoking,<CASE>policy)"
The NOT modifier causes Verity to eliminate documents found by the search word(s), such as
CRITERIA="<MANY>(smoking,policy)"
CRITERIA="<MANY> smoking"
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="smoking NOT policy"
CRITERIA="NOT(smoking,days)"
CRITERIA="<NOT>(smoking,days)"
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="'not smoking'"
CRITERIA="AND('not',smoking)"
CRITERIA="AND("not",smoking)"
CRITERIA="<ORDER><PARAGRAPH>(smoking,policy)"