Open topic with navigation

# 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 HPE IDOL Server 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`, or `ParagraphContext`). 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 HPE IDOL Server 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. Restart HPE IDOL Server for your changes to take effect.

Related Topics

- About Fields

Note: If you remove fields from the Source fields list, you must first perform a `DREINITAL` index action and then reindex the content into the HPE IDOL Server. You cannot remove source fields after you index the data.

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

_HP_HTML5_bannerTitle.htm