Thanks Markus for the help, I will look into that parser.

On 05.09.2011 15:52, Markus Jelsma wrote:
Hi,

This is a Solr question. I sugget you read the DismaxQParser plugin page on
the Solr wiki. It explains on how to queries multiple fields with per-field
boosting: the qf-parameter.

qf=content^1.5 title^4.5

means a high boost on title.

Cheers.

Hi,

I was wondering if anybody can help me on how to configure per-field
boosting for documents on Nutch 1.3 and Solr 3.3.0. I'm not sure if this
is something I need to set in Nutch or in Solr, but I want matches in
the title to be ranked higher than if the match is the content.

The FAQ [1] mentions the properties query.title.boost, query.host.boost,
etc., which don't seem to be available any more.  NUTCH-858 [2] mentions
that it is available again in 1.2, but not how to use it (again, the
propertiesquery.*.boost don't work).

I tried setting the boost in the Solr schema.xml ([3]) by setting the
boost attribute, but again, no luck.

Any help appreciated,
Thanks,
Elisabeth

[1] FAQ:
http://wiki.apache.org/nutch/FAQ#How_can_I_influence_Nutch_scoring.3F
[2] Jira: https://issues.apache.org/jira/browse/NUTCH-858
[3]<field name="title" type="text" stored="true" indexed="true"
boost="5.0"/>

Reply via email to