lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Starts With x and Ends With x Queries
Date Mon, 07 Feb 2005 10:42:27 GMT

On Feb 7, 2005, at 2:07 AM, sergiu gordea wrote:

> Hi Erick,
>> "In order to prevent extremely slow WildcardQueries, a Wildcard term 
>> must not start with one of the wildcards <code>*</code> or 
>> <code>?</code>."
>> I don't read that as saying you cannot use an initial wildcard 
>> character, but rather as if you use a leading wildcard character you 
>> risk performance issues.  I'm going to change "must" to "should".
> Will this change available in the next realease of lucene? How do you 
> plan to implement this? Will this be available as an atributte of  
> QueryParser?

I'm not changing any functionality.  WildcardQuery will still support 
leading wildcard characters, QueryParser will still disallow them.  All 
I'm going to change is the javadoc that makes it sound like 
WildcardQuery does not support leading wildcard characters.


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

View raw message