Exact meaning of weights in SOLR ranking -
i have been trying different weights on solr dismax , edismax ranking , got wonder these weights mean? example, can specify qf parameter this:
qf:title^2.0 body^1.0 ...
what these weights mean? multiplication of each field's text score? or addition?
also how pf parameter?
pf:title^2.0 body^0.5
is multiplication or addition?
if shed light, great.
qf -> query fields measures score individual terms. boost multiplies weight individual match score field
e.g. qf:title^2.0 body^1.0
document match on title field have double score document match on boby (given other factors same)
pf -> phrase query measures score phrase terms
e.g. query internet banking
, configuration qf:title^2.0 body^1.0
, pf:title^2.0 body^0.5
should result in query :-
title:internet^2 title:banking^2 body:internet^1 body:banking^1 title:"internet banking"^2 body:"internet banking"^0.5
Comments
Post a Comment