You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Deepak Konidena <de...@gmail.com> on 2013/08/12 21:40:33 UTC

Multiple _val_ inside a lucene query.

One of my previous mails to the group helped me simulate short-circuiting
OR behavior using (thanks to yonik)

_val_:"def(query(cond1,cond2,..))"

where if cond1 is true the query returns without executing the subsequent
conditions.

While it works successfully for single attribute, I am trying to extend it
so I can achieve the same behavior for multiple attributes. I am trying to
use multiple _val_, where the query returns an error.

How do I make a query with multiple _val_ clauses?

-Deepak