From 91f58ac72b603bc9a66f537829c0f99dcd65fbff Mon Sep 17 00:00:00 2001 From: David Smiley Date: Fri, 21 Oct 2016 13:51:45 -0400 Subject: [PATCH] SOLR-9676: DefaultSolrHighlighter: clarify warning when FVH can't be used --- .../org/apache/solr/highlight/DefaultSolrHighlighter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java b/solr/core/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java index 2e31d7db6d0..f020eb7acb9 100644 --- a/solr/core/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java +++ b/solr/core/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java @@ -467,8 +467,8 @@ public class DefaultSolrHighlighter extends SolrHighlighter implements PluginInf if (!useFvhParam) return false; boolean termPosOff = schemaField.storeTermPositions() && schemaField.storeTermOffsets(); if (!termPosOff) { - log.warn("Solr will not use FastVectorHighlighter because {} field does not store TermPositions and " - + "TermOffsets.", schemaField.getName()); + log.warn("Solr will use the standard Highlighter instead of FastVectorHighlighter because the {} field " + + "does not store TermVectors with TermPositions and TermOffsets.", schemaField.getName()); } return termPosOff; }