Allows you to adjust category terms and weights.
Note: This is an administrative action that can be sent only from AdminClients (which are set in the [Server]
section of the configuration file).
http://12.3.4.56:9000/action=CategorySetTNW&Category=32349987602210557106&Terms=tax,money,budget&Weights=2353,1223,1023
This action uses port 9000
to instruct HPE Category Component, which is located on a machine with the IP address 12.3.4.56
, to set the weight of the term tax to 2353
, the weight of the term money to 1223
, and the weight of the term budget to 1023
.
Parameter | Description | Required |
---|---|---|
BuildNow | Whether to build the category immediately. | |
Category | The ID of the category to set terms and weights for. | Yes |
Encoding | The encoding of the specified terms. | |
Terms | The terms to set weights for. | Yes, except see Comments |
UserName | The name of the user that sends the action. | |
Weights | The weights to set for the specified Terms. | Yes, except see Comments |
This action accepts the following standard ACI action parameters.
Parameter | Description |
---|---|
ActionID | A string to use to identify an ACI action. |
EncryptResponse | Encrypt the output. |
FileName | The file to write output to. |
ForceTemplateRefresh | Forces the server to load the template from disk. |
Output | Writes output to a file. |
ResponseFormat | The format of the action output. |
Template | The template to use for the action output. |
TemplateParamCSVs | A list of variables to use for the specified template. |
To remove all term weighting values that you have previously set, use the CategorySetTNW
action, but omit the Terms and Weights parameters.
|