Bug 7818: use Title-cover for title phrase weighting
This is offerred as a compromise alternative to creating a new Title-rel index to avoid having the statement of responsiblity unduly affect field weight when using the DOM filter and MARC21 -- the problem with creating a Title-rel index is that it would *force* reindexing upon upgrade. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
daca5edc52
commit
7a0f991764
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ sub _build_weighted_query {
|
|||
$weighted_query .=
|
||||
"Title-cover,ext,r1=\"$operand\""; # exact title-cover
|
||||
$weighted_query .= " or ti,ext,r2=\"$operand\""; # exact title
|
||||
$weighted_query .= " or ti,phr,r3=\"$operand\""; # phrase title
|
||||
$weighted_query .= " or Title-cover,phr,r3=\"$operand\""; # phrase title
|
||||
#$weighted_query .= " or any,ext,r4=$operand"; # exact any
|
||||
#$weighted_query .=" or kw,wrdl,r5=\"$operand\""; # word list any
|
||||
$weighted_query .= " or wrdl,fuzzy,r8=\"$operand\""
|
||||
|
|
Loading…
Reference in a new issue