Open topic with navigation
A custom term weight file defines a set of terms and weights to use when HPE IDOL Server calculates relevance weighting at query time. HPE IDOL Server 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, HPE IDOL Server 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 HPE IDOL Server.|
||is the HPE IDOL Server 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
HPE IDOL Server applies weight
By default, if you have an existing custom term weight file,HPE IDOL Server updates the file with the values in the new one. HPE IDOL Server 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, HPE IDOL Server 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 HPE IDOL Server Reference.