While reading the lists , I found that overriding similarity to return 1 for tf and idf i a way for this. Is that correct or is there any other way ? Thanks WW -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-the-search-results-based-on-number-of-highlights-tp4031175p4032452.html Sent from the Solr - User mailing list archive at Nabble.com.