I'm fixing position increment in EdgeNgramTokenFilter to act like synonyms, with each ngram at the same position as the source token. Currently, the position is incremented for each output token, which breaks phrase searching with edge ngrams.
I could not find a current Jira issue for this. Is there one? We are still on 3.3, but I'll submit a patch for 4.x. Thanks to whoever converted EdgeNgramTokenFilter to use TokenStream. wunder -- Walter Underwood [email protected]
