The MATCHCOVER
field specifier (case sensitive) allows you to find documents in which the values in all instances of a specified field have matches in the set of string values provided in the specifier. In other words, the specifier must cover all instances of the field. A search using MATCHCOVER
is slower than one using MATCH.
To match numeric values, use EQUALCOVER.
NOTE: You can optimize the field specifier speed by configuring the field with the
NOTE: To use the MATCHCOVER
field specifier against fields that were added using the
To use the MATCHCOVER
field specifier for fields that contain multiple identical values that might match, you must define the fields as
FieldText=MATCHCOVER{yourStrings}:yourField
yourStrings
|
One or more strings. A document is returned only if the value in each of its instances of NOTE: To distinguish query syntax punctuation from punctuation within strings, double-percent-encode commas and curly braces within strings. Query syntax punctuation must be left unencoded. There must be no space before or after a separator comma. |
yourField
|
The name of the field to match against. A document returns only if:
|
FieldText=MATCHCOVER{Confidential,Secret,TopSecret,FBI}:SECURITYLEVEL
For a document to return as a result, its SECURITYLEVEL
fields must have no values that are not in the specified list. For example, if a document includes a SECURITYLEVEL
field with the value MI5
, it does not return.
(If a document has no SECURITYLEVEL
field at all, it returns.)
|