Knowledge Discovery 26.1
Knowledge Discovery Expert

# Query Results

The response from a Query action can be as simple as just the number of results for the query, or as complex as a full highlighted copy of the result documents, with additional summaries and metadata presented.

The Content component always returns the number of results that the query returns (the number of hits, up to the requested `MaxResults` for the query). You can use the `TotalResults` parameter to also show the total number of results in the index, and result counts for each database.

By default for each result, Content returns the reference, title, database, relevancy (weight), and any configured Print fields. You can return additional fields from the documents by adding the `PrintFields` parameter to the `Query` action. You can return additional metadata fields (such as the language and date of the results) by using the `XMLMeta` parameter.

You can augment each result with a summary of the result, and highlight the links (terms in the document that matched the query) in both the summary and the body content of the document.

You can cluster results by direct similarity (the `Cluster` action parameter), or by selecting representative phrases for topics (the `QuerySummary` action parameter, which is the basis of Automatic Query Guidance).

## Topics in this Section:

- Result Relevance and Ranks. A description of the different factors that affect the ordering of results and relevance calculations.

- Adjust Query Results. A guide to different ways that you can adjust the result relevance.

- Sort Results. A description of how to sort query results in different ways, and to optimize this process.

Copyright 2025 Open Text
Version 26.1 | Last updated January 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 26.1

Topic Title: Query Results