Re: Scoring a single document from a corpus based on a given query

2007-10-12 Thread lucene_user
The Scorer.explain() method worked. Thanks for the replies. I may be able to use MemoryIndex in a different situation. Paul Elschot wrote: > > On Wednesday 10 October 2007 18:44, lucene_user wrote: >> I would like to score a single document from a corpus based on a given &

Scoring a single document from a corpus based on a given query

2007-10-10 Thread lucene_user
I would like to score a single document from a corpus based on a given query. The formula score(q,d) is basically what I am looking for. Pseudo Code of Something Close to what I am looking for: indexReader.score(query, documentId); The formula score(q,d) is used throughout the documentation to