FileDocCategorySizeDatePackage
Fragmenter.javaAPI DocApache Lucene 1.91274Mon Feb 20 09:18:22 GMT 2006org.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