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