Re: Lucene querying with words ending with 'ing'

2015-02-16 Thread Maisnam Ns
Thanks Erick On Tue, Feb 17, 2015 at 11:33 AM, Erick Erickson wrote: > See ReverseWildcardFilterFactory. The trick is to index the tokens > backwards, so leading wildcards become trailing ones. > > Best, > Erick > > On Mon, Feb 16, 2015 at 9:16 PM, Maisnam Ns wrote: > > Hi, > > > > Can someone

Re: Lucene querying with words ending with 'ing'

2015-02-16 Thread Erick Erickson
See ReverseWildcardFilterFactory. The trick is to index the tokens backwards, so leading wildcards become trailing ones. Best, Erick On Mon, Feb 16, 2015 at 9:16 PM, Maisnam Ns wrote: > Hi, > > Can someone help me with querying terms ending with 'ing' with Lucene. > > I tried searching with '*in

Lucene querying with words ending with 'ing'

2015-02-16 Thread Maisnam Ns
Hi, Can someone help me with querying terms ending with 'ing' with Lucene. I tried searching with '*ing' , it is saying query string cannot start with * , but I would like to get all words ending with 'ing' How can I accomplish this with Lucene Regards NS