| |
|
| java.lang.Object org.apache.lucene.search.highlight.SimpleFragmenter
SimpleFragmenter | public class SimpleFragmenter implements Fragmenter(Code) | | Fragmenter implementation which breaks text up into same-size
fragments with no concerns over spotting sentence boundaries.
author: mark@searcharea.co.uk |
SimpleFragmenter | public SimpleFragmenter()(Code) | | |
SimpleFragmenter | public SimpleFragmenter(int fragmentSize)(Code) | | Parameters: fragmentSize - size in bytes of each fragment |
getFragmentSize | public int getFragmentSize()(Code) | | size in bytes of each fragment |
isNewFragment | public boolean isNewFragment(Token token)(Code) | | |
setFragmentSize | public void setFragmentSize(int size)(Code) | | Parameters: size - size in bytes of each fragment |
|
|
|