Query Manipulation Server 26.2
Query Manipulation Server Help

# ExpandNames

Expand the current query with synonyms for any names in the original query text.

NOTE: To use name expansion, you must configure the `[NameVariants]` configuration section with the locations of required data files. See NameVariants Parameters.

QMS uses Named Entity Recognition to search the query text for name matches. It then finds any potential name variants for these matches, by sending another query to the Content component. QMS uses any name variants it finds to expand the original query, by using a `SYNONYM` operator, where each synonym is a variant of the original matched name.

For example, to search for John Smith you can use the following query:

    action=Query&Text=John Smith&ExpandNames=True

and QMS might produce the following expanded query, where each of the listed variants exists in a document in Content.

    'SYNONYM("J Smith","J. Smith","JOHN Jimmy SMITH","JOHN SMITH","John A. Smith","John James Smith","John Jimmy Smith","John Smith","Johnny Smith","Mr. Smith","Джон Смит")'

Action: | Query
Type: | Boolean
Default: | False
Required: | No
Example: | `ExpandNames=True`
See Also: | NameVariants Parameters

Copyright 2026 Open Text
Version 26.2 | Last updated April 2026

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: Knowledge Discovery Query Manipulation Server 26.2

Topic Title: ExpandNames