Hi,

it is possible to create a new similarity class which returns the term
occurrences.
You have to disable Idf (just return1), normalization and co.

then you have to declare it in your schema:

http://wiki.apache.org/solr/SchemaXml#Similarity
http://wiki.apache.org/solr/SolrPlugins#Similarity


We did something like that for one particular project.


Ludovic.

-----
Jouve
France.
--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-do-sorting-on-no-of-highlighting-in-solr-tp3319983p3320688.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to