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 <maisnam...@gmail.com> wrote: > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org