org.apache.lucene.search.highlight
Class NullFragmenter
- Fragmenter
public class NullFragmenter
Fragmenter
implementation which does not fragment the text.
This is useful for highlighting the entire content of a document or field.
boolean | isNewFragment(Token token) - Test to see if this token from the stream should be held in a new TextFragment
|
void | start(String s) - Initializes the Fragmenter
|
isNewFragment
public boolean isNewFragment(Token token)
Test to see if this token from the stream should be held in a new TextFragment
- isNewFragment in interface Fragmenter
start
public void start(String s)
Initializes the Fragmenter
- start in interface Fragmenter
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.