Are you saying that ConstantScoreRangeQuery is interpreted by the IndexSearcher 
to be the same as a filter?  

----- Original Message ----
From: Chris Hostetter <[EMAIL PROTECTED]>
To: solr-dev@lucene.apache.org; jason rutherglen <[EMAIL PROTECTED]>
Sent: Thursday, April 27, 2006 5:44:19 PM
Subject: Re: Adding range filter to Solr


: Where would this go in the code?  I want to add a new XML based request
: handler so that spans and range filters can be handled.  Thanks.

Since RangeFilter is included in lucene 1.9 (as is SpanQuery) it's
automatically inlcuded in Solr .. in fact, the default SolrQueryParser
(used by the StandardRequestHandler) automaiclaly uses
COnstantScoreRangeQuery (a thin wrapper arround RangeFilter) instead of
RangeQuery.




-Hoss




Reply via email to