lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Can use Lucene be used for this
Date Wed, 12 Nov 2003 14:16:16 GMT
On Wednesday, November 12, 2003, at 07:34  AM, Hackl, Rene wrote:
>>> col2 like %aa%
>> Lucene doesn't handle queries where the start of the term is not known
>> very efficiently.
> Is it really able to handle them at all? I thought "*foo"-type queries 
> were
> not supported.

They are not supported by the QueryParser, but an API created 
WildcardQuery supports it.

I certainly do not recommend using prefix-style wildcard queries 
though, knowing what happens under the covers.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message