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

(-)a/C4/Search.pm (-1 / +7 lines)
Lines 1494-1499 sub buildQuery { Link Here
1494
1494
1495
                warn "FIELD WEIGHTED OPERAND: >$weighted_operand<" if $DEBUG;
1495
                warn "FIELD WEIGHTED OPERAND: >$weighted_operand<" if $DEBUG;
1496
1496
1497
                #Use relevance ranking when not using a weighted query (which adds relevance ranking of its own)
1498
1499
                #N.B. Truncation is mutually exclusive with Weighted Queries,
1500
                #so even if QueryWeightFields is turned on, QueryAutoTruncate will turn it off, thus
1501
                #the need for this relevance wrapper.
1502
                $operand = "(rk=($operand))" unless $weight_fields;
1503
1497
                ($query,$query_cgi,$query_desc,$previous_operand) = _build_initial_query({
1504
                ($query,$query_cgi,$query_desc,$previous_operand) = _build_initial_query({
1498
                    query => $query,
1505
                    query => $query,
1499
                    query_cgi => $query_cgi,
1506
                    query_cgi => $query_cgi,
1500
- 

Return to bug 12430