mirror of https://github.com/apache/lucene.git
add getter for synonym map
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@673449 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7919e2e4fe
commit
363d51dd88
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue