lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: ConstantScoreRangeQuery and ConstantScoreQuery
Date Fri, 17 Mar 2006 03:01:28 GMT

: And I read the following issue again:
: ConstantScoreRangeQuery - fixes "too many clauses" exception
: 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 provides the underlying mechanism that allows any
fitler to be used as a query that provides a constant score to matching
documents.  It is what a ConstantScoreRangeQuery rewrites to (wrapped
arround a RangeFilter) but it may also be usefull if you have your own
custom Filter that you want to use as a Query.


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

View raw message