Content Component 26.2
Content Component Help

# DREMODIFYTERMWEIGHT

Allows you to add a custom file to define the weights for terms in your index.

You can use this action to define a standard set of term weights for each child server in a distributed architecture, to ensure consistent weightings.

When you use a custom weight file, the Content component uses these custom weights in all queries and actions the use the term information (such as TermGetInfo). However, you can also override the custom term weight file in an individual query to use the default index weights.

You can use the KeepExisting parameter to specify whether you want to update the existing file (the default), or overwrite it. If you set KeepExisting to `False` and do not set Filename, Content deletes the custom term weight file, and uses the default term weights in the index.

## Example

    http://12.3.4.56:9101/DREMODIFYTERMWEIGHT?Filename=C:\Content\Weights\customweights.xml

This example updates Content with the term weights defined in the file `customweights.xml`.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
Filename | The path to the XML file that contains the weight information that you want to use.
KeepExisting | Whether to update or overwrite the existing custom term weight file.

This index action accepts the following standard index action parameters.

Parameter | Description
--- | ---
IgnoreMaxPendingItems | Whether to ignore the IndexQueueMaxPendingItems limit for this index action.
IndexUID | An identification code for any document tracking events.
NoArchive | Turn off configured archiving for the index action.
Priority | The priority for the index job.

Copyright 2026 Open Text
Version 26.2 | Last updated April 2026

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Content Component 26.2

Topic Title: DREMODIFYTERMWEIGHT