Did you get an answer to this? Looking at the lucene test cases can be a good way of finding out things like this. Reading Lucene In Action is also highly recommended. May not have the exact answer to this question but will teach you how to find out.
-- Ian. On Mon, May 28, 2012 at 7:35 AM, atiyeh soleimani <a.soleim...@yahoo.com> wrote: > Dear all > > I am going to find out how SynonymFilter in Lucene-analyzers 3.5 works and > what exactly its output tokens are. > Is there any sample code that shows how to fill SynonymMap and then use > SynonymFilter to filter a sentence. > I appreciate any comment. > > Thanks, > Atieh Soleimani --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org