diff --git a/src/java/org/apache/solr/analysis/SynonymFilterFactory.java b/src/java/org/apache/solr/analysis/SynonymFilterFactory.java index ea0afbad3ca..16dfd125a19 100644 --- a/src/java/org/apache/solr/analysis/SynonymFilterFactory.java +++ b/src/java/org/apache/solr/analysis/SynonymFilterFactory.java @@ -152,6 +152,10 @@ public class SynonymFilterFactory extends BaseTokenFilterFactory implements Reso return tokFactory.create( reader ); } + public SynonymMap getSynonymMap() { + return synMap; + } + public SynonymFilter create(TokenStream input) { return new SynonymFilter(input,synMap); }