mirror of https://github.com/apache/lucene.git
SOLR-9237: Make FvhContainer public
(cherry picked from commit 4f45226
)
This commit is contained in:
parent
d71a358601
commit
81c23f1c5b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue