lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Docs with any score are collected in the Collector implementations
Date Wed, 02 Jun 2010 18:36:56 GMT
On Wed, Jun 2, 2010 at 1:10 PM,  <jan.kurella@nokia.com> wrote:
> that's probably because I move from lucene to solr.
>
> We will need to filter them from the result manually then first.

Solr has a function range query that can filter out any values outside
of the given range.
http://www.lucidimagination.com/blog/2009/07/06/ranges-over-functions-in-solr-14/

And of course, a function query can consist of a normal relevancy
query... so here is a lucene query of "text:solr" with a lower bound
of 0 exclusive:

http://localhost:8983/solr/select?q={!frange l=0
incl=false}query($qq)&qq=text:solr

-Yonik
http://www.lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message