我有一个PatternTokenizerizerFactory,它需要一个字符串,例如
Query: "2 seater vehicle with 4 wheels"
Tokenized: "2 seater", "vehicle", "with", "2 wheels"
我现在想要具有以下内容的同义词过滤器
1,one
2,two
我希望输出以下令牌
SF: "2 seater", "two seater", "vehicle", "with", "2 wheels", "two wheels"
我该如何实现这一目标? 我正在使用Solr 6.1