SOLR-9237: Make FvhContainer public

(cherry picked from commit 4f45226)
This commit is contained in:
Jan Høydahl 2016-07-16 11:51:06 +02:00
parent d71a358601
commit 81c23f1c5b
1 changed files with 3 additions and 3 deletions

View File

@ -739,12 +739,12 @@ public class DefaultSolrHighlighter extends SolrHighlighter implements PluginInf
return new TokenOrderingFilter(tStream, 10); return new TokenOrderingFilter(tStream, 10);
} }
// Wraps FVH to allow pass-by-reference // Wraps FVH to allow pass-by-reference. Public access to allow use in 3rd party subclasses
protected class FvhContainer { public class FvhContainer {
FastVectorHighlighter fvh; FastVectorHighlighter fvh;
FieldQuery fieldQuery; FieldQuery fieldQuery;
FvhContainer(FastVectorHighlighter fvh, FieldQuery fieldQuery) { public FvhContainer(FastVectorHighlighter fvh, FieldQuery fieldQuery) {
this.fvh = fvh; this.fvh = fvh;
this.fieldQuery = fieldQuery; this.fieldQuery = fieldQuery;
} }