Re: Boosting Code

2009-07-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
public Map transform(Map row , Context ctx){ row.put("$docBoost", 3445); return row; } On Wed, Jul 22, 2009 at 12:02 PM, prerna07 wrote: > > Hi, > > I have to boost document, Can someone help me understanding how can we > implement docBoost via transformer. > > Thanks, > Prerna > > > Mar

Re: Boosting Code

2009-07-21 Thread prerna07
Hi, I have to boost document, Can someone help me understanding how can we implement docBoost via transformer. Thanks, Prerna Marc Sturlese wrote: > > 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

Re: Boosting Code

2009-02-23 Thread Marc Sturlese
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 setti