Open topic with navigation

# Check Synonym Queries

The XML response from QMS includes the tag `autn:expandedQuery`, which shows the expanded query text that QMS sends to IDOL Server.

For example:

    <autn:expandedQuery>dog hound canine</autn:expandedQuery>

You can use the value of this tag to check that QMS applies the synonym rules correctly.

When multiple synonym rules match a query, QMS processes them one by one. The original query text is modified by the first rule. The output from that modification is the query text input for the second rule, and so on.

QMS includes the `<autn:expansionOrder>` tag in the query response to show the order in which it applies the rules to the query. This tag contains `<autn:rule>` tags, which describes the order that the rules are applied.

For example:

    <autn:expandedQuery>(dog OR hound OR canine) AND (cat OR kitten)</autn:expandedQuery>
      -<autn:expansionOrder>
       <autn:rule rule_type="synonym" reference="catsynonymrule" modified_query="hound AND (cat OR kitten)"/>
       <autn:rule rule_type="synonym" reference="dogsynonymrule" modified_query="(dog OR hound OR canine) AND (cat OR kitten)"/>
      </autn:expansionOrder>

Related Topics

- Synonyms, Hyponyms, and Hypernyms

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! 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. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm