IDOL Category Component 12.11

# OnConflict

NOTE: This parameter description applies only to the CategoryImportFromXML action.

The method to use to handle categories in the XML that have the same name and hierarchy position as existing categories. Use one of the following options:

- `KeepExisting`. Keep the existing category and discard the new category.

- `Overwrite`. Overwrite the existing category with the new category.

- `Merge`. Merge the new category with the existing category. In this case, IDOL Category Component:

  - keeps old and new child categories.

  - keeps new training text and overwrites the old training text. All other old and new training items are kept.

  - keeps old and new terms. Where old and new terms match, the weight of the new terms overwrites that of the old terms if it is different. QueryAgent terms and weights are always overwritten.

  - keeps old and new detail fields (`numresults`, `threshold`, `databases`, `FieldText`, and user-defined fields), unless their values clash, in which case the new field value overwrites the old one.

Actions: | CategoryImportFromXML
Type: | String
Default: | `KeepExisting`
Example: | `OnConflict=Overwrite`
See Also: |

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Category Component 12.11

Topic Title: OnConflict