Return Summaries with Query Results
Use the following procedure to return summaries with query results.
-
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
,ParagraphContext
,RAG
, orVector
). For example:action=Query&Text=Undulant fever&Summary=Concept
Each result of this query returns with a conceptual summary.
-
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.
-
-
Save and close the configuration file.
-
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 DREINITIAL index action and then reindex the content into the IDOL Content component. You cannot remove source fields after you index the data.