mirror of https://github.com/apache/lucene.git
Remove outdated comment in UnifiedHighlighter.get(Formatter|Scorer) javadoc. (#820)
This commit is contained in:
parent
2ccec3deb7
commit
9199d48e7e
|
@ -585,17 +585,13 @@ public class UnifiedHighlighter {
|
||||||
return breakIterator.get();
|
return breakIterator.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** Returns the {@link PassageScorer} to use for ranking passages. */
|
||||||
* Returns the {@link PassageScorer} to use for ranking passages. This returns a new {@code
|
|
||||||
* PassageScorer} by default; subclasses can override to customize.
|
|
||||||
*/
|
|
||||||
protected PassageScorer getScorer(String field) {
|
protected PassageScorer getScorer(String field) {
|
||||||
return scorer;
|
return scorer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the {@link PassageFormatter} to use for formatting passages into highlighted snippets.
|
* Returns the {@link PassageFormatter} to use for formatting passages into highlighted snippets.
|
||||||
* This returns a new {@code PassageFormatter} by default; subclasses can override to customize.
|
|
||||||
*/
|
*/
|
||||||
protected PassageFormatter getFormatter(String field) {
|
protected PassageFormatter getFormatter(String field) {
|
||||||
return formatter;
|
return formatter;
|
||||||
|
|
Loading…
Reference in New Issue