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:
Yonik Seeley 2008-07-02 17:34:29 +00:00
parent 7919e2e4fe
commit 363d51dd88
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}