On 3/16/06, Koji Sekiguchi <[EMAIL PROTECTED]> wrote:
> But still, I cannot understand very well why ConstantScoreQuery comes out.
> Is it for to implement ConstantScoreRangeQuery? Or, is it used for something
> by itself?

ConstantScoreQuery can wrap any Filter and gives a constant score for
every document that matches the filter.

ConstantScoreRangeQuery rewrites to a ConstantScoreQuery with a
RangeFilter inside.
ConstantScoreRangeQuery isn't strictly required... you could construct
a ConstantScoreQuery with a RangeFilter yourself.


-Yonik
http://incubator.apache.org/solr Solr, The Open Source Lucene Search Server

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

Reply via email to