org.apache.lucene.search.highlight
public class NullFragmenter extends Object implements Fragmenter
Fragmenter
implementation which does not fragment the text.
This is useful for highlighting the entire content of a document or field.Constructor and Description |
---|
NullFragmenter() |
Modifier and Type | Method and Description |
---|---|
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
|
public void start(String s)
Fragmenter
start
in interface Fragmenter
public boolean isNewFragment(Token token)
Fragmenter
isNewFragment
in interface Fragmenter
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.