FileDocCategorySizeDatePackage
Fragmenter.javaAPI DocApache Lucene 2.1.01457Wed Feb 14 10:46:22 GMT 2007org.apache.lucene.search.highlight

Fragmenter

public interface Fragmenter
Implements the policy for breaking text into multiple fragments for consideration by the {@link Highlighter} class. A sophisticated implementation may do this on the basis of detecting end of sentences in the text.
author
mark@searcharea.co.uk

Fields Summary
Constructors Summary
Methods Summary
public booleanisNewFragment(org.apache.lucene.analysis.Token nextToken)
Test to see if this token from the stream should be held in a new TextFragment

param
nextToken

public voidstart(java.lang.String originalText)
Initializes the Fragmenter

param
originalText