Open topic with navigation
A custom term weight file defines a set of terms and weights to use when the IDOL Content component calculates relevance weighting at query time. Content calculates term weights at index time, and stores a list of term weights for the index. You can retrieve the term details by using the
In a distributed system, you might want to use a custom term weight file to ensure that all your child servers have the same term weighting, to ensure consistent results and relevant weighting across your indexes.
When the custom file exists, Content uses it for all queries unless you set the
CustomWeight action parameter to
False for an action. This action parameter is available for the
You can use the
DREMODIFYTERMWEIGHT index action to add, modify, or delete a custom term weight file.
||is the IP address or host name of the IDOL Content component.|
||is the IDOL Content component index port (specified as
is the file name and path to the XML file that contains the stemmed terms and custom weight values to use.
You can use the output from the
Content applies weight
By default, if you have an existing custom term weight file, Content updates the file with the values in the new one. Content adds any terms that do not exist in the current file, and updates the weight for any terms that do exist. You can set the
KeepExisting parameter to
False to delete the existing file and replace it with the new one.
You can also set
False without setting the
Filename parameter. In this case, Content deletes the custom term weight file and uses the default index weights. For example:
For more information about the
DREMODIFYTERMWEIGHT index action, refer to the IDOL Server Reference.