Douglas, I never used it , but in "Lucene in Action" book we may read : Wildcards at the beginning of a term are prohibited using QueryParser, but an API-coded WildcardQuery may use leading wildcards (at the expense of performance).
Regards Michael On 8/31/07, Douglas Smith <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > Are wildcard queries intended to be able to support wildcards at the > beginning *and* end of a term? > > I am getting search results when I use a single wildcard (*), but not > when I use them at the begging *and* end of a word. The Lucene java > documentation seems unclear on this point, but one of my requirements is > to find word fragments in the middle of words. > > > ===================================== > Douglas M. Smith > ===================================== > Email: [EMAIL PROTECTED] > Yahoo: [EMAIL PROTECTED] > Jabber: [EMAIL PROTECTED] > ===================================== > > "For years there has been a theory that millions of monkeys typing at > random on millions of typewriters would reproduce the entire works of > Shakespeare. The Internet has proven this theory to be untrue." - > Unknown > > >
