Interface IBoundaryScanner
Finds fragment boundaries: pluggable into BaseFragmentsBuilder
Namespace: Lucene.Net.Search.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public interface IBoundaryScanner
Methods
FindEndOffset(StringBuilder, int)
Scan forward to find start offset.
Declaration
int FindEndOffset(StringBuilder buffer, int start)
Parameters
Type | Name | Description |
---|---|---|
StringBuilder | buffer | scanned object |
int | start | start offset to begin |
Returns
Type | Description |
---|---|
int | the found end offset |
FindStartOffset(StringBuilder, int)
Scan backward to find end offset.
Declaration
int FindStartOffset(StringBuilder buffer, int start)
Parameters
Type | Name | Description |
---|---|---|
StringBuilder | buffer | scanned object |
int | start | offset to begin |
Returns
Type | Description |
---|---|
int | the found start offset |