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.
Erik
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]