On Aug 1, 2013, at 17:36 , Thyagaraj <thyagara...@gmail.com> wrote: > Hello Raymond Wiker, > > I just want to change the value while returning from the index (i.e, at > query time). I tried the one like below but it's not working and showing > same fraction value instead any nearest integer, > > http://192.168.1.10:8080/solr/core10/select?q=*%3A*&rint%28ratings%29&wt=xml > > Did I try correctly? if not could you let me correct way of doing it > changing the above link? > > Thank you!
Try something like http://localhost:8983/solr/core10/select?q=*%3A*&fl=*%2C+intratings%3Arint(ratings)&wt=xml --- this adds the value "intratings" to your search results (rounded correctly, but it appears to be returned as a double...)