Open topic with navigation

# TermExpand

Allows you to specify misspelled or Wildcard terms and return all matching terms in HPE Content Component. You can also use `TermExpand` to return the term phrases that internal synonym links (returned by a query with the Synonym parameter) correspond to.

You can also restrict the term expansion for Wildcard or misspelled terms to terms in UnstemmedTrackFields by adding a field restriction.

## Example

    http://12.3.4.56:9000/action=TermExpand&Text=sound&Expansion=Fuzzy

This action uses port `9000` to request fuzzy matches for the term `sound` from HPE Content Component, which is located on a machine with the IP address `12.3.4.56`.

    http://12.3.4.56:9000/action=TermExpand&Text=Mauri*:Country&Expansion=Wild

This action uses port `9000` to request terms that start with `Mauri` in the `Country` field from HPE Content Component, which is located on a machine with the IP address `12.3.4.56`. In this example, the `Country` field must be configured in UnstemmedTrackFields.

## Parameters

Parameter | Description | Required
--- | --- | ---
Expansion | The expansion type to use. | Yes
LanguageType | The language type of the Text. |
MaxTerms | The maximum number of terms or term phrases to return. |
MinDocOccs | The minimum number of times that a term must occur to return as an expansion. |
OutputEncoding | The encoding to convert the results to. |
Stemming | Whether to stem the terms in the results list. |
Synchronous | Whether to run the action synchronously or asynchronously. |
TermDetails | Whether to return details of the number of documents that each term occurs in. |
Text | The text or synonym link to expand. | Yes
Type | The value to use to sort the result terms. |

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.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm