lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: inconsistency/performance trap of empty terms
Date Sat, 30 Oct 2010 11:22:41 GMT
On Sat, Oct 30, 2010 at 7:19 AM, Earwin Burrfoot <> wrote:
> I'd say support them everywhere, and slip LengthFilter into all the
> standard Analyzers, so people won't hit empty terms unless they opt-in
> for it.
> This is a most consistent approach.

I'm definitely ok with an approach like that... just anything consistent really!

as far as queries go, i think you know, if a query says it scales
value over term length like fuzzyquery/spellchecking does, and you get
Infinity as the score, there shouldn't be any complaints... this is
completely correct behavior.

if you are gonna use the empty term, then you need to know what you
are getting into and be ready to deal with things like this.

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

View raw message