IDOL Community Component 12.13

# 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 IDOL 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`, 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 IDOL 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 IDOL Content component for your changes to take effect.

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 IDOL Content component. You cannot remove source fields after you index the data.

Related Topics

- About Fields

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Community Component 12.13

Topic Title: Return Summaries with Query Results