Merge branch 'bug_9588' into 3.14-master
This commit is contained in:
commit
de44ba220a
1 changed files with 5 additions and 2 deletions
|
@ -890,8 +890,11 @@ sub _build_weighted_query {
|
|||
$weighted_query .= " $index,ext,r1=\"$operand\""; # exact index
|
||||
#$weighted_query .= " or (title-sort-az=0 or $index,startswithnt,st-word,r3=$operand #)";
|
||||
$weighted_query .= " or $index,phr,r3=\"$operand\""; # phrase index
|
||||
$weighted_query .=
|
||||
" or $index,rt,wrdl,r3=\"$operand\""; # word list index
|
||||
$weighted_query .= " or $index,wrdl,r6=\"$operand\""; # word list index
|
||||
$weighted_query .= " or $index,wrdl,fuzzy,r8=\"$operand\""
|
||||
if $fuzzy_enabled; # add fuzzy, word list
|
||||
$weighted_query .= " or $index,wrdl,rt,r9=\"$stemmed_operand\""
|
||||
if ( $stemming and $stemmed_operand ); # add stemming, right truncation
|
||||
}
|
||||
|
||||
$weighted_query .= "))"; # close rank specification
|
||||
|
|
Loading…
Reference in a new issue