lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Exception in WildCardQuery
Date Sat, 08 Apr 2006 18:08:08 GMT
I don't mean literally that WildcardQuery would morph into a  
TermQuery, but rather "behave" like it by simply doing what it  
currently does but without the string index exception that currently  
is thrown.  It wouldn't take any additional clockticks, per se, I  
don't think - it'd just behave as most would expect.


On Apr 8, 2006, at 11:57 AM, karl wettin wrote:

> 8 apr 2006 kl. 13.06 skrev Erik Hatcher:
>> Feel free to log this as a bug report in our JIRA issue tracker.   
>> It seems like a reasonable change to make, such that a  
>> WildcardQuery without a wildcard character would behave like  
>> TermQuery.
> -1
> Even though very few, it is a waste of clockticks. I belive that  
> any lib always should try to force the developer to write optimized  
> code. If you for some reason need to autotedetect wildcard/term  
> query, the developer should write a facade.
> Another error message could be good though.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message