wrong BM25 implementation in Lucene

2006-10-25 Thread beatriz ramos
Hello, this is BM25 algorithm I implement in Lucene. it doen't work because I have compaired my results with the results of MG4J (with the same documents set) I don't know if I have a wrong formule or there are another mistake Could you help me ? ---

number of term occurrences

2006-10-23 Thread beatriz ramos
Hello, I´m working with Lucene. I need to get the number of occurrences of the term in the document. I had seen the documentations ant I don´t find anything. Do you have any idea? Thanks.

implementing our own Scorer (BM25)

2006-10-20 Thread beatriz ramos
Hello, I'm trying to implement my own scoring algorithm with Lucene but I don't get any results. Lucene documentation explains how to implement new scoring, modifying Query, Weight and Scorer classes. I have tried this but doesn't work This is the BM25 Scorer formule: log((N-f+0.5)/(f+0