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

(-)a/C4/Search.pm (-3 / +5 lines)
Lines 872-879 sub _build_weighted_query { Link Here
872
        $weighted_query .= " $index,ext,r1=\"$operand\"";    # exact index
872
        $weighted_query .= " $index,ext,r1=\"$operand\"";    # exact index
873
          #$weighted_query .= " or (title-sort-az=0 or $index,startswithnt,st-word,r3=$operand #)";
873
          #$weighted_query .= " or (title-sort-az=0 or $index,startswithnt,st-word,r3=$operand #)";
874
        $weighted_query .= " or $index,phr,r3=\"$operand\"";    # phrase index
874
        $weighted_query .= " or $index,phr,r3=\"$operand\"";    # phrase index
875
        $weighted_query .=
875
        $weighted_query .= " or $index,wrdl,r6=\"$operand\"";    # word list index
876
          " or $index,rt,wrdl,r3=\"$operand\"";    # word list index
876
        $weighted_query .= " or $index,wrdl,fuzzy,r8=\"$operand\""
877
          if $fuzzy_enabled;    # add fuzzy, word list
878
        $weighted_query .= " or $index,wrdl,rt,r9=\"$stemmed_operand\""
879
          if ( $stemming and $stemmed_operand );    # add stemming, right truncation
877
    }
880
    }
878
881
879
    $weighted_query .= "))";                       # close rank specification
882
    $weighted_query .= "))";                       # close rank specification
880
- 

Return to bug 9588