RE: BM25 Similarity implementation

2006-02-17 Thread Trieschnigg, R.B. \(Dolf\)
Sorry, the image wasn't sent: http://wwwhome.cs.utwente.nl/~trieschn/bm25.PNG > -Original Message- > From: Trieschnigg, R.B. (Dolf) > [mailto:[EMAIL PROTECTED] > Sent: vrijdag 17 februari 2006 10:54 > To: java-user@lucene.apache.org > Subject: RE: BM25 Si

RE: BM25 Similarity implementation

2006-02-17 Thread Trieschnigg, R.B. \(Dolf\)
> > I would like to implement the Okapi BM25 weighting function > > using my own Similarity implementation. Unfortunately BM25 > > requires the document length in the score calculation, which > > is not provided by the Scorer. > > How do you want to measure document length? If the number of >

Re: BM25 Similarity implementation

2006-02-16 Thread Doug Cutting
Trieschnigg, R.B. (Dolf) wrote: I would like to implement the Okapi BM25 weighting function using my own Similarity implementation. Unfortunately BM25 requires the document length in the score calculation, which is not provided by the Scorer. How do you want to measure document length? If th

BM25 Similarity implementation

2006-02-16 Thread Trieschnigg, R.B. \(Dolf\)
Hi, I would like to implement the Okapi BM25 weighting function using my own Similarity implementation. Unfortunately BM25 requires the document length in the score calculation, which is not provided by the Scorer. Does anyone know a solution to this problem? I've tried to find other Similarit