Different Weights to Lucene fields with Okapi Similarity

2012-07-16 Thread Kasun Perera
Resending again, since my question didn't get much attention -- Forwarded message -- From: Kasun Perera Date: Tue, Jun 19, 2012 at 3:26 PM Subject: Different Weights to Lucene fields with Okapi Similarity To: java-user@lucene.apache.org Based on this link http://www200

Different Weights to Lucene fields with Okapi Similarity

2012-06-19 Thread Kasun Perera
Based on this link http://www2002.org/CDROM/refereed/643/node6.html , I'm calculating Okapi similarity between the query document and another document as below using Lucene: I have indexed the documents using 3 fields. I want to give higher weight to field 2 and field 3. I can't use Lucene's boost