lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: sumOfSquaredWeights for lengthNorm
Date Mon, 10 Aug 2009 13:17:39 GMT
You can override the Similarity class and set it on both the  
IndexWriter and the IndexReader.   Is that your question?

On Aug 10, 2009, at 3:55 AM, Claudio Gennaro wrote:

> Dear all,
>
>
>
> I read a very old message on the list about the use of  
> sumOfSquaredWeights
> in lengthNorm (Mon, 06 Mar 2006 19:06:28 GMT from Eugene). I just  
> wanted to
> do the same, i.e., to override the Similarity class of Lucene in  
> order to
> normalize the term weights of a doc with the sum of the squares of  
> doc term
> frequencies in the doc.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message