Re: Solr comparsion between two columns

2016-05-03 Thread Alexandre Rafalovitch
The documentation link I gave has a bunch of examples. What is the specific difficulty? On 3 May 2016 4:30 pm, "kavurupavan" wrote: > Hi Alex, > > Please provide any example for comparsion in solr. > > Regards, > Pavan. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.c

Re: Solr comparsion between two columns

2016-05-02 Thread kavurupavan
Hi Alex, Please provide any example for comparsion in solr. Regards, Pavan. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-comparsion-between-two-columns-tp4274155p4274158.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr comparsion between two columns

2016-05-02 Thread Alexandre Rafalovitch
Function queries if you want to do this on a fly: https://cwiki.apache.org/confluence/display/solr/Function+Queries '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