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

(-)a/C4/Search.pm (-1 / +7 lines)
Lines 1486-1491 sub buildQuery { Link Here
1486
1486
1487
                warn "FIELD WEIGHTED OPERAND: >$weighted_operand<" if $DEBUG;
1487
                warn "FIELD WEIGHTED OPERAND: >$weighted_operand<" if $DEBUG;
1488
1488
1489
                #Use relevance ranking when not using a weighted query (which adds relevance ranking of its own)
1490
1491
                #N.B. Truncation is mutually exclusive with Weighted Queries,
1492
                #so even if QueryWeightFields is turned on, QueryAutoTruncate will turn it off, thus
1493
                #the need for this relevance wrapper.
1494
                $operand = "(rk=($operand))" unless $weight_fields;
1495
1489
                # If there's a previous operand, we need to add an operator
1496
                # If there's a previous operand, we need to add an operator
1490
                if ($previous_operand) {
1497
                if ($previous_operand) {
1491
1498
1492
- 

Return to bug 12430