Simple tf cosine similarity

2009-08-13 Thread Claudio Gennaro
audio == Ing. Claudio Gennaro, PhD ISTI (Information Science and Technology Institute) Consiglio Nazionale delle Ricerche Area della Ricerca di Pisa (room I14) Via G. Moruzzi 1 56124 Pisa - ITALY phone: +39 050 315 3077 mobile: +39 328 92 16 734 fax: +39 050 315

Simple Cosine Similarity

2009-08-13 Thread Claudio Gennaro
I would like to know if there is a simple way to force Lucene to adopt the simple cosine similarity of the term frequency vectors of the documents and the query for ranking the result. Thank you Claudio - To unsubscribe, e-mai

R: sumOfSquaredWeights for lengthNorm

2009-08-10 Thread Claudio Gennaro
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