Where are the values coming from? You might be able to use the _val_ hook for function queries if they're in fields in the doc. Or if it's a constant you pass in....
Let's claim it's just a value in you document. Can't you just form a filter query on it? Details matter, there's not enough info here to say anything definitive. Best, Erick On Thu, Apr 10, 2014 at 10:56 AM, horot <roman.she...@gmail.com> wrote: > hi > whether it is possible to compare two variables in the Solr filter? > As best to build a filter: x - y = 0, i.e. get all records if x = y > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/filter-capabilities-are-limited-tp4130458.html > Sent from the Solr - User mailing list archive at Nabble.com.