lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Bernstein <joels...@gmail.com>
Subject Re: filter capabilities are limited?
Date Thu, 10 Apr 2014 21:01:24 GMT
It sounds like you can make it work with the frange qparser plugin:

fq={!frange l=0 u=0}sub(field(a),field(b))



Joel Bernstein
Search Engineer at Heliosearch


On Thu, Apr 10, 2014 at 3:36 PM, Erick Erickson <erickerickson@gmail.com>wrote:

> Uhhhm, did you look at function queries at all? That should work for you.
>
> You might want to review:
> http://wiki.apache.org/solr/UsingMailingLists
>
> Best,
> Erick
>
> On Thu, Apr 10, 2014 at 11:51 AM, horot <roman.shevel@gmail.com> wrote:
> > Values come from the Solr doc. I can not get to compare the two fields to
> > get some result. The logic of such a query: x <> '' and y <> '' and
x =
> y.
> >
> > it's something like
> >
> > q=x:* AND y:* AND x:y
> >
> > but the problem is that the field can not be compared direct form. If
> > someone knows how to solve this problem please write examples.
> >
> >
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/filter-capabilities-are-limited-tp4130458p4130472.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message