lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Retrieving granular scores back from Lucene/SOLR
Date Wed, 26 Dec 2012 11:49:28 GMT
On Tue, Dec 25, 2012 at 11:30 PM, Vishwas Goel <vishwasg@gmail.com> wrote:
> Hi,
>
> I am looking to get a bit more information back from SOLR/Lucene about the
> query/document pair scores. This would include field level scores, overall
> text relevance score, Boost value, BF value etc.

Use Scorer.getChildren()/freq()/getWeight()

in your collector you can walk the scorer hierarchy, associate scorers
with specific terms and queries, and determine which scorers matched
which documents and with what subscore.

---------------------------------------------------------------------
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