TERMEXACTALL
The TERMEXACTALL
field specifier (case sensitive) allows you to find documents with a specified field that contains an exact match of all terms you specify.
NOTE: If the language that you are using does not match the
that you have specified in the Content component configuration file, you must add the
parameter to your query action.
Format
FieldText=TERMEXACTALL{yourTerms}:yourFields
yourTerms
|
Multiple terms. A document returns only if one of NOTE: Strings in the query must be percent-encoded to ensure that any commas or curly braces that are part of a string are not interpreted as query syntax. If you send HTTP requests using the content-type |
yourFields
|
One or more fields. A document returns only if it contains one of these fields, and if this field contains an exact match of all yourTerms . Separate multiple fields with colons (: ). There must be no space before or after a colon. |
Example
FieldText=TERMEXACTALL{rabbits,eating,carrots}:DRETITLE
The DRETITLE
field must contain all the specified terms, in their specified form. For example, if the DRETITLE
field has the value Rabbits like eating carrots
or The carrots were there but the rabbits ate all the cabbage
, the document returns as a result, while a document with a field that contains Rabbits like to eat a carrot each day
does not return.
FieldText=TERMEXACTALL{flour,milk,eggs}:DRETITLE:TITLE
The DRETITLE
or TITLE
field must contain all the specified terms, in their specified form. For example, if the DRETITLE
or TITLE
field has the value Most cake recipes include milk, eggs and flour
, the document returns as a result, while a document with a field that contains Use a cup of milk, two cups of flour and one egg
does not return.