org.apache.lucene.search.postingshighlight
public abstract class PassageFormatter extends Object
| Constructor and Description |
|---|
PassageFormatter() |
public abstract String format(Passage[] passages, String content)
passages from content
into a human-readable text snippet.passages - top-N passages for the field. Note these are sorted in
the order that they appear in the document for convenience.content - content for the field.Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.