: Given the trouble people routinely get themselves into using RangeQuery
: would it make sense to change the "rewrite" method to generate a
: ConstantScoreQuery wrapping a RangeFilter?

As much as i hate RangeQuery, i can imagine situations where people wnat
the scoring subtleties that it currently provides -- but i don't think
they are the common case.

It we want to reduce the number of "accidental" uses of RangeQuery, it
probably makes more senese to just replace it's usage in QueryParser, but
leave the rewrite method alone -- the class javadocs should also indicate
that you most likely do *not* want to use it, and should instead
probably use ConstantScoringRangeQuery -- i would go so far as to mark
RangeQuery an "Expert" class.



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to