I'm using solr 4.0 with DIH jdbc connector and I use Solr Admin web interface
for testing. I have a field called *ratings* which varies like 0, 0.3, 0.5,
0.75, 1, 1.5, 1.6... and so on as per user input. 


I found the link 
http://lucene.472066.n3.nabble.com/How-to-round-solr-score-td495198.html
<http://lucene.472066.n3.nabble.com/How-to-round-solr-score-td495198.html>  
which is beyond of my understanding and I unable to make use of in my case.


I just want to round this rating values to nearest integer value through
solr like,
0.3 & 0.5 to 0
0.75 & 1.5 to 1
1.6 to 2


Anybody help me guiding please?

Thank you!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-round-ratings-to-nearest-integer-value-tp4081833.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to