From 4163a4a95572cb11986a83853f79321c3172e58e Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Fri, 8 Jul 2011 02:26:11 +0000 Subject: [PATCH] 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 --- .../java/org/apache/solr/highlight/DefaultSolrHighlighter.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/solr/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java b/solr/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java index 7d2b37d9581..d2c5b107456 100644 --- a/solr/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java +++ b/solr/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java @@ -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 {