mirror of https://github.com/apache/lucene.git
not true actually - we do have to run through this tokenstream again anyway, so this is necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144129 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
28dab8437f
commit
4163a4a955
|
@ -454,8 +454,6 @@ public class DefaultSolrHighlighter extends SolrHighlighter implements PluginInf
|
|||
|
||||
Highlighter highlighter;
|
||||
if (Boolean.valueOf(req.getParams().get(HighlightParams.USE_PHRASE_HIGHLIGHTER, "true"))) {
|
||||
// TODO: this is not always necessary - eventually we would like to avoid this wrap
|
||||
// when it is not needed.
|
||||
if (maxCharsToAnalyze < 0) {
|
||||
tstream = new CachingTokenFilter(tstream);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue