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 <erickerick...@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.she...@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.
>

Reply via email to