View Component 25.3
View Component Help

# Return Summaries with Query Results

Use the following procedure to return summaries with query results.

To generate summaries for query results

1. Send a `Query`, `Suggest`, or `SuggestOnText` action to the Content component that includes the `Summary` parameter. Set the `Summary` parameter to the type of summary that you want to return for results (`Concept`, `Context`, `Quick`, `ParagraphConcept`, `ParagraphContext`, `RAG`, or `Vector`). For example:

       action=Query&Text=Undulant fever&Summary=Concept

   Each result of this query returns with a conceptual summary.

2. Optionally, make the following settings in the Content component configuration file, depending on the type of summary that you want to generate:

   - For Concept, Context, or Quick summaries. Use the `SourceType` property to specify the fields to generate the summary from.

   - For Concept or Context summaries. In the `[Summary]` section, set the `MinWordsPerSentence` parameter to the minimum number of words that a sentence must contain to consider it as a sentence for the summary.

   - For Context summaries. In the `[Server]` section, set the `ContextSummaryQueryTermWeight` parameter to the weight that it must use for the terms in user queries. The context summary gives this weight to sentences that contain terms in common with the query text. The other terms are given their APCM weight.

3. Save and close the configuration file.

4. Restart the Content component for your changes to take effect.

NOTE: If you remove fields from the Source fields list, you must first perform a `DREINITIAL` index action and then reindex the content into the Content component. You cannot remove source fields after you index the data.

Related Topics

- About Fields

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

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 View Component 25.3

Topic Title: Return Summaries with Query Results