Hi, As part of terms component we have a parameter terms.sort=index|count.
If we put terms.sort=index, will be returns the terms in index order. While doing the import, i have used the below query to index. SELECT ID,SEARCH_KEY,WEIGHTAGE FROM SEARCH_KEY_WEIGHTAGE ORDER BY weightage DESC So the top WEIGHTAGE document will be first indexed.While returning it is not happening like that.How can i get the top weightage term first, in the result of the matched term? Regards, Siva -- View this message in context: http://lucene.472066.n3.nabble.com/Term-component-sort-is-not-working-tp1905059p1905059.html Sent from the Solr - User mailing list archive at Nabble.com.