If you mean at indexing time, you set field boost via data-config.xml. That
boost is parsed from there and set to the lucene document going through
DocBuilder,java, SolrInputDocuemnt.java and DocuemntBuilder.java
In case you want to set full-document boost (not just to a field) you can do
it setting a value to the key $docBoost via transformer. That value is set
using same classes (DocBuilder,java, SolrInputDocuemnt.java and
DocuemntBuilder.java).



dabboo wrote:
> 
> Hi,
> 
> Can anyone please tell me where I can find the actual logic/implementation
> of field boosting in Solr. I am looking for classes.
> 
> Thanks,
> Amit Garg
> 

-- 
View this message in context: 
http://www.nabble.com/Boosting-Code-tp22119017p22162823.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to