View | Details | Raw Unified | Return to bug 9588
Collapse All | Expand All

(-)a/C4/Search.pm (-3 / +5 lines)
Lines 890-897 sub _build_weighted_query { Link Here
890
        $weighted_query .= " $index,ext,r1=\"$operand\"";    # exact index
890
        $weighted_query .= " $index,ext,r1=\"$operand\"";    # exact index
891
          #$weighted_query .= " or (title-sort-az=0 or $index,startswithnt,st-word,r3=$operand #)";
891
          #$weighted_query .= " or (title-sort-az=0 or $index,startswithnt,st-word,r3=$operand #)";
892
        $weighted_query .= " or $index,phr,r3=\"$operand\"";    # phrase index
892
        $weighted_query .= " or $index,phr,r3=\"$operand\"";    # phrase index
893
        $weighted_query .=
893
        $weighted_query .= " or $index,wrdl,r6=\"$operand\"";    # word list index
894
          " or $index,rt,wrdl,r3=\"$operand\"";    # word list index
894
        $weighted_query .= " or $index,wrdl,fuzzy,r8=\"$operand\""
895
          if $fuzzy_enabled;    # add fuzzy, word list
896
        $weighted_query .= " or $index,wrdl,rt,r9=\"$stemmed_operand\""
897
          if ( $stemming and $stemmed_operand );    # add stemming, right truncation
895
    }
898
    }
896
899
897
    $weighted_query .= "))";                       # close rank specification
900
    $weighted_query .= "))";                       # close rank specification
898
- 

Return to bug 9588