samedi 17 mars 2018

How to perform comparison on solr colums

I have a solr indexed table in which i want to filter the results if one column is greater than the other, so far i am able to specify the range of a particular column but cannot do comparing of two columns. I read in this post https://stackoverflow.com/questions/36996043/how-to-compare-two-columns-using-solr that i need to create a new column in which i have to store the comparison and then fetch the results from there . But i have no clue on how to begin with it . Any help will be appreciated.

Edit 1:

Show results if column1 > column2




Aucun commentaire:

Enregistrer un commentaire