Keyoti SearchUnit API Docs
HighlightQueryWordsInSummary Method (elements, highlightQueryWordsInSummaryHTML)
API Documentation ► Keyoti.SearchEngine.Web ► ResultItem ► HighlightQueryWordsInSummary(ArrayList, String)
Keyoti SearchUnit v6
Highlights 'words' in Summary
Declaration Syntax
C#Visual Basic
public virtual IntArraysList HighlightQueryWordsInSummary(
	ArrayList elements,
	string highlightQueryWordsInSummaryHTML
)
Public Overridable Function HighlightQueryWordsInSummary ( 
	elements As ArrayList,
	highlightQueryWordsInSummaryHTML As String
) As IntArraysList
Parameters
elements (ArrayList)
ArrayList of Element objects, some elements can be null.
highlightQueryWordsInSummaryHTML (String)
The HTML used to highlight (must contain {0} formatting)
Return Value
IntArraysList
List of character positions (in the new summary) that were inserted by this method.

Assembly: Keyoti4.SearchEngine.Web (Module: Keyoti4.SearchEngine.Web.dll) Version: 2022.8.22.610