Sure, there are many tricks. If you search the mail archives you'll find a bunch of them.
One would be to reverse the tokens and make your leading wildcard queries into trailing ones on the reversed field. But without more details about what you're trying to accomplish, there's not much really useful advice we can offer. Best Erick On Wed, Oct 29, 2008 at 7:15 AM, Aditi Goyal <[EMAIL PROTECTED]> wrote: > Hi All, > > I have been wanting to do a wildcard search with * as a first letter on an > index. > Is there a way out except for setAllowLeadingWildcard() of QueryParser to > true? Because, i have heard it is an expensive operation. > > Thanks > Aditi >