Package | Description |
---|---|
org.apache.lucene.search.postingshighlight |
Highlighter implementation that uses offsets from postings lists.
|
Modifier and Type | Method and Description |
---|---|
protected Passage[] |
PostingsHighlighter.getEmptyHighlight(String fieldName,
BreakIterator bi,
int maxPassages)
Called to summarize a document when no hits were
found.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
PassageFormatter.format(Passage[] passages,
String content)
Formats the top
passages from content
into a human-readable text snippet. |
String |
DefaultPassageFormatter.format(Passage[] passages,
String content) |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.