Is it 2 character search possible in lucence

Yes, this is possible using wildcards.

Feed your QueryParser with te*, and it will generate a query that starts for a te prefix with any suffix.

Leave a Comment