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.
standardize_fields( doc )
| Argument | Description |
|---|---|
doc
|
(LuaDocument) The document to modify. |
Boolean. Returns true if the task is successful. Returns false if the task fails.
|
|