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

2007-10-12 Thread lucene_user
t; Paul Elschot > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Scoring-a-si

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

2007-10-10 Thread Yonik Seeley
On 10/10/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > Have a look at the contrib/memory package delivered with Lucene. It > contains a MemoryIndex which is designed exactly for this scenario. That's a fast way to see if a single doc matches a query, but it won't give you the same score as if

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

2007-10-10 Thread Grant Ingersoll
the issue by applying a search filter to only consider the particular document I am looking for. I was hoping for a cleaner approach. -- View this message in context: http://www.nabble.com/Scoring-a- single-document-from-a-corpus-based-on-a-given-query- tf4601980.html#a13139648 Sent from the

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

2007-10-10 Thread Paul Elschot
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 > 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); >

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

2007-10-10 Thread lucene_user
/Scoring-a-single-document-from-a-corpus-based-on-a-given-query-tf4601980.html#a13139648 Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail