lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Getting score of explicit documents for a query
Date Fri, 04 Dec 2009 02:56:21 GMT
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 <erdinc@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message