lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vishwas Goel <vishw...@gmail.com>
Subject Re: Retrieving granular scores back from Lucene/SOLR
Date Wed, 26 Dec 2012 14:15:22 GMT
On Wed, Dec 26, 2012 at 5:19 PM, Robert Muir <rcmuir@gmail.com> wrote:

> 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.
>
>
This seems interesting. Is there any example code that i could look at?

Thanks,
Vishwas



> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message