Hi Samar, You can write your custom similarity implementation, and override the /lengthNorm()/ method to return a constant value.
Then in your /schema.xml/ specify your custom implementation as the default similarity class. But you need to rebuild your index from scratch for this to come into effect(also set /omitNorms="true"/ for your fields where you need this feature) Regds Pravesh -- View this message in context: http://lucene.472066.n3.nabble.com/to-prevent-number-of-matching-terms-in-contributing-score-tp3486373p3486512.html Sent from the Solr - User mailing list archive at Nabble.com.