# CantHaveFields

The fields to discard before the documents is indexed. By default, all fields are stored in IDOL Server.

NOTE: Micro Focus recommends that you use the `CantHaveFieldCSVs` configuration parameter to exclude fields, instead of setting this parameter for a single index action.

Separate multiple fields with commas. There must be no space before or after a comma. You can use wildcards.

When identifying fields use the formats:

- `/FieldName` to match root-level fields

- `*/FieldName` to match all fields except root-level

- `/Path/FieldName` to match fields that the specified path points to.

If you specify only the field name, IDOL Server automatically adds a `*/` to it.

Actions: | DREADD DREADDDATA
Type: | String
Default: |
Example: | `CantHaveFields=*/StandardHeader` In this example, any `StandardHeader` fields in a document are discarded before the document is indexed.
See Also: | MustHaveFields

_FT_HTML5_bannerTitle.htm