In a way, *term searches are supported - just iterate through every term in TermEnum. Unfortunately, this is a linear O(n) algorithm so it does become very slow as the number of terms in the index increases. If your index is small (eg, < 1GB), I find the search time still pretty acceptable. Otherwise, the I suggest you be a little creative in the way you create your index (eg, keep search terms in reverse "mret*" instead of "*term")
Dave Kor Kian Wei Consultant Product Engineering NexusEdge Technologies Pte. Ltd. 6 Aljunied Ave 3, #01-02 (Level 4) Singapore 389932 Tel : (+65)848-2552 Fax : (+65)747-4536 Web : www.nexusedge.com > -----Original Message----- > From: Sheldon Shi [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 05, 2002 9:11 AM > To: '[EMAIL PROTECTED]' > Subject: Wildcard search - Why can't I search for *term? > > > As I understand it Lucene does not support wildcard search terms > in the form of *term. But in my project I need to search for > terms by their tails. Does anyone have a work around? > > Thanks. > > Sheldon > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>