lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: WhitespaceTokenizer and scoring(field length)
Date Wed, 27 Apr 2011 22:13:58 GMT



Is it possible to change the lengthNorm? 

Yes you can customize it and plug it into solr. DefaultSimilarity and SweetSpotSimilarity
can be starting point.

http://lucene.apache.org/java/3_0_3/api/core/org/apache/lucene/search/Similarity.html#lengthNorm%28java.lang.String,%20int%29

--
View this message in context: http://lucene.472066.n3.nabble.com/WhitespaceTokenizer-and-scoring-field-length-tp2865784p2870206.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message