lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <>
Subject Re: Solr comparsion between two columns
Date Tue, 03 May 2016 05:33:08 GMT
Function queries if you want to do this on a fly:
'if' and 'sub' most likely

However, if you are going to do this often for the same fields, you
may be better off calculating this during indexing using
UpdateRequestProcessors. I don't think we have one for math directly
(full list here: , but you
could use a Scripting one and implement it that way.

Newsletter and resources for Solr beginners and intermediates:

On 3 May 2016 at 15:14, kavurupavan <> wrote:
> Compare two columns in solr if two fields are equal display true or else
> false.
> CASE WHEN o_is_follow = o_follow_id THEN 'TRUE' ELSE 'FALSE'. Please help
> me. Thanks in advance.
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

View raw message