GetTagValues
Returns all the possible values of the specified FieldName.
NOTE: The GetTagValues action returns all the stored values of the specified field, which might include values from documents that have been deleted.
Example
http://12.3.4.56:9100/action=GetTagValues&FieldName=Grape
This action requests all different values of the Grape field from the Content component. This action allows you, for example, to return all grape varieties stored in a Content wine database.
Required Parameters
The following action parameters are required.
| Parameter | Description |
|---|---|
| FieldName | The names of the fields whose values you want to return. |
Optional Parameters
This action accepts the following optional parameters.
| Parameter | Description |
|---|---|
| CaseSensitive | Whether to match the Restriction fields case sensitively. |
| LanguageType | The language type of the FieldName. |
| MaxValues | The maximum number of top results to display. |
| Merge | Merges the values of multiple parametric fields. |
| OutputEncoding | The encoding to convert results to. |
| Restriction | One or more fields that restrict the parametric search. |
| Sort | The display order to use for results. |
| Start | Print results from this position onwards. |
| Synchronous | Whether to run the action synchronously or asynchronously. |
| TotalValues | Whether to display the total number of matches. |
NOTE: If you want to use Restriction, you must set the ParametricMaxPairsPerDocument configuration parameter.
This action accepts the following standard ACI action parameters.
| Parameter | Description |
|---|---|
| ActionID | A string to use to identify an ACI action. |
| 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. |