# MustHaveFields

The fields in an IDX file that must be stored in IDOL Server. By default, all fields are stored. Fields that are not listed are discarded, which means they cannot be queried or displayed.

NOTE: Micro Focus recommends that you use the MustHaveFieldCSVs configuration parameter to include 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: | `MustHaveFields=*/DRECONTENT,*/DRETITLE` In this example, IDOL Server only stores a document's `DRECONTENT` and `DRETITLE` fields.
See Also: | CantHaveFields MustHaveFieldCSVs configuration parameter

_FT_HTML5_bannerTitle.htm