STRINGALL
The STRINGALL
field specifier (case sensitive) allows you to specify one or more strings, which all must be contained as a substring in a specified field.
NOTE: The field specifier speed can be optimized by restricting the field to the
property type.
Format
FieldText=STRING{yourStrings}:yourFields
yourStrings
|
One or more strings. A document returns only if all these strings are substrings of the value in 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 the value in this field is contains yourStrings as substrings. Separate multiple fields with colons (: ). There must be no space before or after a colon. |
Example
FieldText=STRINGALL{cat,dog}:ANIMAL
The ANIMAL
field value must contain the substrings cat
and dog
. For example, if the ANIMAL
field has the value grooming cats and dogs
or doggedly scattering seeds
, the document returns.
FieldText=STRINGALL{old cat,young dog}:ANIMAL:TOPIC
The ANIMAL
or TOPIC
field value must contain the substrings old cat
and young dog
. For example, if the ANIMAL
field has the value old cat chases young dog
, or young.doggedly chasing bold cats
, the document returns.
FieldText=STRINGALL{a%252Cb,e%252Cf}:MISC
The MISC
field value must contain the substring a,b
and e,f
. For example, if the MISC
field has the value a,b,c,d,e,f
or 0=e,fx
1=da,ba
, the document returns.