tag:blogger.com,1999:blog-24384544.post2814413813714488669..comments2023-05-08T20:53:29.394+10:00Comments on Development Answers (No Questions): Why can you not use a Wildcard as the first character in a Lucene search?Kevin Janszhttp://www.blogger.com/profile/18251927796029491111noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-24384544.post-62460486025357479802008-03-11T23:48:00.000+11:002008-03-11T23:48:00.000+11:00The reason it's not advisable can be seen in the L...The reason it's not advisable can be seen in the <A HREF="http://lucene.apache.org/java/2_3_1/fileformats.html#Term%20Dictionary" REL="nofollow">Lucene file formats documentation</A>. The term directory file is based on term prefixes and only differences from the previous term are stored. This means that it's very expensive to do a wildcard at the start of a query.Anonymousnoreply@blogger.com