Open topic with navigation

# 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 `MatchType` property type.

## Format

    FieldText=STRING{yourStrings}:yourFields

`yourStrings` | Type one or more strings. A document is only returned if all these strings are substrings of the value in one of `yourFields`. You can match strings that contain punctuation (but see Note below) or consist of several words. 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.
`yourFields` | Type one or more fields. A document is only returned 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

A document's `ANIMAL` field value must contain the substrings cat and dog for this document to be returned. If a document's `ANIMAL` field, for example, has the value `grooming cats and dogs` or `doggedly scattering seeds`, this document is returned.

    FieldText=STRINGALL{old cat,young dog}:ANIMAL:TOPIC

A document's `ANIMAL` or `TOPIC` field value must contain the substrings old cat and young dog for this document to be returned. If a document's `ANIMAL` field, for example, has the value `old cat chases young dog`, or `young.doggedly chasing bold cats`, this document is returned.

    FieldText=STRINGALL{a%2Cb,e%2Cf}:MISC

A document's `MISC` field value must contain the substring `a,b` and `e,f` for this document to be returned. If a document's `MISC` field, for example, has the value `a,b,c,d,e,f` or `0=e,fx` `1=da,ba`, this document is returned.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm