lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
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.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message