Method GetEmptyHighlight
GetEmptyHighlight(String, BreakIterator, Int32)
Called to summarize a document when no hits were
found. By default this just returns the first
maxPassages
sentences; subclasses can override
to customize.
Declaration
protected virtual Passage[] GetEmptyHighlight(string fieldName, BreakIterator bi, int maxPassages)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | |
BreakIterator | bi | |
System.Int32 | maxPassages |
Returns
Type | Description |
---|---|
Passage[] |