# 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

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm