I think you should be able to use 1+ FilteredQuery (with IDs of your docs) with your main query and thus get the scores only for docs that interest you.
Otis -- Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch ----- Original Message ---- > From: Erdinc Yilmazel <erd...@yilmazel.com> > To: java-user@lucene.apache.org > Sent: Thu, December 3, 2009 11:37:08 AM > Subject: Getting score of explicit documents for a query > > Hi, > > Given a query, is there a way to learn score of some specific documents in > the index against this query? I don't want to make a global search in the > index and rank and sort all the matching documents. What I want to do is > learn the rank of a bunch of documents in the index that I can identify by > document id.. > > Erdinc --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org