Hello,

I have just started using lucene to calculate document similarity.
I am indexing around 1000 documents with 5 fields per document.

I need to calculate cosine document similarity value between a particular
document and all other documents.

Currently I am able to do that using* getTermVector(docId,String field)*
method.

But what if I want to use *two fields together to calculate the cosine
value* ?

Can anyone please help me to solve this issue ?

Thanks & Regards,
Sidd.

Reply via email to