Hi , I wanted to sort the results of the solr search query on the number of highlights generated per document. e.g Doc 1 highlights { fieldA FieldB } Doc 2 Highlights{ field A fieldC fieldC }
No, I understand that score is calculated depending on many factors like , tf , idf boost etc. So when I sort on score the the document with 2 highlights can come ahead of the document with 3 highlights. How can I sort based on purely the number of highlights. Right now I am doing it in the code but I do not want to do this in code as then the pagination becomes an issue . I have to fetch a larger number of records and do in memory sorting . Any help is appreciated. Thanks WW -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-the-search-results-based-on-number-of-highlights-tp4031175.html Sent from the Solr - User mailing list archive at Nabble.com.