Query Manipulation Server 24.2

# 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

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Query Manipulation Server 24.2

Topic Title: Check Synonym Queries