convert the list of WeightedPhraseInfo to WeightedFragInfo, then add it to the fragInfos

Namespace: Lucene.Net.Search.Vectorhighlight
Assembly: Lucene.Net.FastVectorHighlighter (in Lucene.Net.FastVectorHighlighter.dll) Version: 2.9.2.0 (2.9.2)

Syntax

C#
public void Add(
	int startOffset,
	int endOffset,
	List<FieldPhraseList..::..WeightedPhraseInfo> phraseInfoList
)
Visual Basic
Public Sub Add ( _
	startOffset As Integer, _
	endOffset As Integer, _
	phraseInfoList As List(Of FieldPhraseList..::..WeightedPhraseInfo) _
)
Visual C++
public:
void Add(
	int startOffset, 
	int endOffset, 
	List<FieldPhraseList..::..WeightedPhraseInfo^>^ phraseInfoList
)

Parameters

startOffset
Type: System..::..Int32
start offset of the fragment
endOffset
Type: System..::..Int32
end offset of the fragment
phraseInfoList
Type: System.Collections.Generic..::..List<(Of <(<'FieldPhraseList..::..WeightedPhraseInfo>)>)>
list of WeightedPhraseInfo objects

See Also