There is no way that I am of aware of to have Solr return between 0 and a 1. Perhaps there is some way tom implement a custom Scorer, but that is overkill and would probably have adverse affects. Instead, just normalize it in your results. Of course, since you read the link you included, you realize that it is no longer really a score, but basically just a feel good measure. And that is what we do, along with some other logic.
-Kevin On Thu, Jun 27, 2013 at 2:25 PM, smanad <sma...@gmail.com> wrote: > Hi, > We have a need where we would want normalized scores from score ranging > between 0 to 1 rather than a free range. > I read about it @ http://wiki.apache.org/lucene-java/ScoresAsPercentagesand > seems like thats not something that is recommended. > > However, is there still a way to set some config in solrconfig to make sure > scores are always between 0 to 1? > OR i will have to implement that logic in my code after I get the results > from Solr. > > Any pointers will be much appreciated. > Thanks, > -M > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Normalizing-Returning-solr-scores-between-0-to-1-tp4073797.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- *KEVIN OSBORN* LEAD SOFTWARE ENGINEER CNET Content Solutions OFFICE 949.399.8714 CELL 949.310.4677 SKYPE osbornk 5 Park Plaza, Suite 600, Irvine, CA 92614 [image: CNET Content Solutions]