Keyoti SearchUnit API Docs
HighlightQueryWordsInSummary Method (elements, highlightQueryWordsInSummaryHTML)
API DocumentationKeyoti.SearchEngine.WebResultItemHighlightQueryWordsInSummary(ArrayList, String)
Keyoti SearchUnit v6
Highlights 'words' in Summary
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public virtual IntArraysList HighlightQueryWordsInSummary(
	ArrayList elements,
	string highlightQueryWordsInSummaryHTML
)
public virtual IntArraysList HighlightQueryWordsInSummary(
	ArrayList elements,
	string highlightQueryWordsInSummaryHTML
)
Public Overridable Function HighlightQueryWordsInSummary ( 
	elements As ArrayList,
	highlightQueryWordsInSummaryHTML As String
) As IntArraysList
Public Overridable Function HighlightQueryWordsInSummary ( 
	elements As ArrayList,
	highlightQueryWordsInSummaryHTML As String
) As IntArraysList
public:
virtual IntArraysList^ HighlightQueryWordsInSummary(
	ArrayList^ elements, 
	String^ highlightQueryWordsInSummaryHTML
)
public:
virtual IntArraysList^ HighlightQueryWordsInSummary(
	ArrayList^ elements, 
	String^ highlightQueryWordsInSummaryHTML
)
abstract HighlightQueryWordsInSummary : 
        elements : ArrayList * 
        highlightQueryWordsInSummaryHTML : string -> IntArraysList 
override HighlightQueryWordsInSummary : 
        elements : ArrayList * 
        highlightQueryWordsInSummaryHTML : string -> IntArraysList 
abstract HighlightQueryWordsInSummary : 
        elements : ArrayList * 
        highlightQueryWordsInSummaryHTML : string -> IntArraysList 
override HighlightQueryWordsInSummary : 
        elements : ArrayList * 
        highlightQueryWordsInSummaryHTML : string -> 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: 2015.6.15.120