# Text

NOTE: This parameter description applies only to the DocumentStats action.

The text to generate statistics from.

## Field Restrictions

You can use `Text` to specify field restrictions for result documents, as long as the fields that you use to restrict results are Index fields (for details on Index fields, refer to the IDOL Server Administration Guide). This option also applies to XML attributes.

NOTE: You must refer to XML attributes using the following format:

    */tagName/_ATTR_attributeName

To match multiple fields simultaneously, separate them with colons.

For example:

    Text=cat:CREATURE:FAUNA+dog:ANIMAL+rabbit:FARM/_ATTR_ANIMAL

Actions: | DocumentStats
Type: | String
Default: |
Example: | `Text=cat+AND+(dog+rabbit)`
See Also: | LanguageType

_FT_HTML5_bannerTitle.htm