You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Manojkumar Rangasamy Kannadasan <ma...@gmail.com> on 2011/11/13 15:39:28 UTC

Assigning scorer in Solr

Hi,

I am new to lucene/solr and working on to understand the functionalities of
IndexSearcher in Lucene.
Can anyone please let me know how scorers are obtained from the Weight when
weight.scorer function is called in the function
protected void search(AtomicReaderContext[] leaves, Weight weight,
Collector collector) throws IOException

How to assign a different scorer to the weights.
Thanks in advance.

Thanks & Regards,
Manoj Kumar.R.K
Graduate Student, MS Computer Science
University at Buffalo
Buffalo, New York
(413) 461-8938|www.rkmanojkumar.co.nr