RangeQuery - rewrite to a RangeFilter in a ConstantScoreQuery?

2006-09-25 Thread mark harwood
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? The only disadvantages I can see would be: 1) Scoring would change - some users may find their apps produce

Re: RangeQuery - rewrite to a RangeFilter in a ConstantScoreQuery?

2006-09-25 Thread Chris Hostetter
: 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