Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.lucene.search.highlight.TextFragment

Uses of TextFragment in org.apache.lucene.search.highlight

Methods in org.apache.lucene.search.highlight that return TextFragment
`TextFragment[]` | `Highlighter.getBestTextFragments(TokenStream tokenStream, String text, boolean mergeContiguousFragments, int maxNumFragments)` Low level api to get the most relevant (formatted) sections of the document.

Methods in org.apache.lucene.search.highlight with parameters of type TextFragment
`boolean` | `TextFragment.follows(TextFragment fragment)`
`void` | `TextFragment.merge(TextFragment frag2)`
`void` | `Scorer.startFragment(TextFragment newFragment)` called when a new fragment is started for consideration
`void` | `QueryScorer.startFragment(TextFragment newFragment)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.