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