From 7a0f991764a9209407eaea90f6aa9dce73866d0e Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 6 Apr 2012 00:48:04 -0400 Subject: [PATCH] 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 Signed-off-by: Jared Camins-Esakov Signed-off-by: Paul Poulain --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index 7d18b737ee..c7860801b4 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -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\"" -- 2.39.5