BoundaryScanner (Lucene 3.6.2 API)
Keywords: org.apache.lucene.search.vectorhighlight.BoundaryScanner interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.lucene.search.vectorhighlight
Interface BoundaryScanner

All Known Implementing Classes:
  BreakIteratorBoundaryScanner, SimpleBoundaryScanner

    public interface BoundaryScanner

Method Summary
`int` | `findEndOffset(StringBuilder buffer, int start)` Scan forward to find start offset.
`int` | `findStartOffset(StringBuilder buffer, int start)` Scan backward to find end offset.

Method Detail

### findStartOffset

    int findStartOffset(StringBuilder buffer,
                        int start)

  Scan backward to find end offset.

  Parameters:
    `buffer` - scanned object
    `start` - start offset to begin
  Returns:
    the found start offset

### findEndOffset

    int findEndOffset(StringBuilder buffer,
                      int start)

  Scan forward to find start offset.

  Parameters:
    `buffer` - scanned object
    `start` - start offset to begin
  Returns:
    the found end offset

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD