# 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

© Copyright 2019 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