Open topic with navigation

# standardize_fields

The `standardize_fields` function runs the `Standardizer` task, which renames document fields so that they follow a standard naming scheme. This ensures that documents indexed into IDOL Server use consistent field names.

To use this function, you must set the EnableFieldNameStandardization and FieldNameDictionaryPath configuration parameters in the `[ImportService]` section of the CFS configuration file.

## Syntax

    standardize_fields( doc )

## Arguments

Argument | Description
--- | ---
`doc` | (LuaDocument) The document to modify.

## Returns

Boolean. Returns `true` if the task is successful. Returns `false` if the task fails.

© 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 web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm