Fields whose Value Exactly Matches One or More Strings
You can use the following field specifier to return documents with fields that contain a specified string.
MATCH
The MATCH
field specifier (case sensitive) finds documents in which a specified field contains a value that exactly matches a specified string.
FieldText=MATCH{yourStrings}:yourFields
where:
yourStrings
|
is one or more strings. A document returns only if one of these strings is matched by one of The matching is case insensitive. FieldText queries which include commas and braces within the query have specific percent-encoding requirements. For information about percent-encoding, see FieldText. |
yourFields
|
is one or more fields. A document returns only if it contains one of these fields, and if the value in this field exactly matches one of To specify multiple fields, separate them with colons (there must be no space before or after a colon). |
Examples:
FieldText=MATCH{Archive,Web,docs}:DB:DATABASE
The DB
or DATABASE
field must have the value Archive, Web, or docs for the document to return as a result.
FieldText=MATCH{Premier league}:DB
The DB
field must have the value Premier League for the document to return as a result.
FieldText=MATCH{0-226-10389-7}:ISBN
The ISBN
field must have the value 0-226-10389-7 for the document to return as a result.