From 9c444b4550fe679dbb36c85e5c8bb8e10c0a34aa 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 Content-Type: text/plain; charset="UTF-8" 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 --- C4/Search.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index 33a1d16..b144a85 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -772,7 +772,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\"" -- 1.7.2.5