From 4f45226174c4f1cdd5364b044b5d7ee6c2001522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sat, 16 Jul 2016 11:51:06 +0200 Subject: [PATCH] SOLR-9237: Make FvhContainer public --- .../org/apache/solr/highlight/DefaultSolrHighlighter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 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 ca481cd9f37..43decc3338d 100644 --- a/solr/core/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java +++ b/solr/core/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java @@ -739,12 +739,12 @@ public class DefaultSolrHighlighter extends SolrHighlighter implements PluginInf return new TokenOrderingFilter(tStream, 10); } - // Wraps FVH to allow pass-by-reference - protected class FvhContainer { + // Wraps FVH to allow pass-by-reference. Public access to allow use in 3rd party subclasses + public class FvhContainer { FastVectorHighlighter fvh; FieldQuery fieldQuery; - FvhContainer(FastVectorHighlighter fvh, FieldQuery fieldQuery) { + public FvhContainer(FastVectorHighlighter fvh, FieldQuery fieldQuery) { this.fvh = fvh; this.fieldQuery = fieldQuery; }