# HardFieldRestriction

Set `HardFieldRestriction` to `true` to use only the fields that you list in the FieldRestriction parameter for matching for the Text and FieldText parameters. In this case, if a field restriction expression in the Text or FieldText parameters refers to a field that is not listed in the FieldRestriction parameter, Distributed Action Handler does not match the expression.

For example, the following query does not return any results, because the `F1` field is not specified in the FieldRestriction parameter:

    action=query&text=dog:F1&fieldrestriction=F2:F3&hardfieldrestriction=true

Actions: | Query
Type: | Boolean
Default: | False
Example: | `HardFieldRestriction=true`
See Also: | FieldRestriction

_FT_HTML5_bannerTitle.htm