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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org