Re: Problems with gaps removed with SynonymFilter

2013-09-23 Thread Michael McCandless
Unfortunately the current SynonymFilter cannot handle posInc != 1 ... we could perhaps try to fix this ... patches welcome :) So for now it's best to place SynonymFilter before StopFilter, and before any other filters that may create graph tokens (posLen > 1, posInc == 0). Mike McCandless http:/

Problems with gaps removed with SynonymFilter

2013-09-22 Thread david . davila
Hi, I am having a problem applying StopFilterFactory and SynonimFilterFactory. The problem is that SynonymFilter removes the gaps that were previously put by the StopFilterFactory. I'm applying filters in query time, because users need to change synonym lists frequently. This is my schema, a