Thanks, Anshum. That really helps. Now my question is Our mid to long term vision is to automate the searches and send results to users which have higher score. For e.g. records with score higher than 90% or so, we would like to include in a report and send across to users. But since the score is relative or it can be 1.5 or 6.5 or any number we don't know if the result we are sending is really relevant or a close match or not. How can we deal with this situation. Regards & Appreciate your help. Susheel
On Wednesday, 30 October 2013 11:57 PM, Anshum Gupta <ans...@anshumgupta.net> wrote: Hi Susheel, Have a look at this: http://wiki.apache.org/lucene-java/ScoresAsPercentages You may really want to reconsider doing that. On Thu, Oct 31, 2013 at 9:41 AM, sushil sharma <sushil2...@yahoo.co.in> wrote: Hi, > >We have a requirement where user would like to see a score (between 0 to 1) >which can tell how close the input search string is with result string. So if >input was very close but not exact matach, score could be .90 etc. > >I do understand that we can get score from solr & divide by highest score but >that will always show 1 even if we match was not exact. > >Regards, >Susheel -- Anshum Gupta http://www.anshumgupta.net/