lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <>
Subject Re: Solr query with more than one field
Date Thu, 01 Jun 2017 18:13:38 GMT
Function queries:
The function would be sub
Then you want its result mapped to a fq. could probably be as simple
as fq={!func}sub(value,cost).

Because the value of the function will be treated as a relevance value
and relevance value of 0 (and less?) will cause the record to be
filtered out.

---- - Resources for Solr users, new and experienced

On 1 June 2017 at 13:46, Mikhail Ibraheem
<> wrote:
> Hi,I have 2 fields "cost" and "value" at my records. I want to get all documents that
have "value" greater than "cost". Something likeq=value:[cost TO *]
> Please advise.
> Thanks

View raw message