Lines 400-410
unless (@servers) {
Link Here
|
400 |
} |
400 |
} |
401 |
# operators include boolean and proximity operators and are used |
401 |
# operators include boolean and proximity operators and are used |
402 |
# to evaluate multiple operands |
402 |
# to evaluate multiple operands |
403 |
my @operators = map uri_unescape($_), $cgi->param('op'); |
403 |
my @operators = map uri_unescape($_), $cgi->multi_param('op'); |
404 |
|
404 |
|
405 |
# indexes are query qualifiers, like 'title', 'author', etc. They |
405 |
# indexes are query qualifiers, like 'title', 'author', etc. They |
406 |
# can be single or multiple parameters separated by comma: kw,right-Truncation |
406 |
# can be single or multiple parameters separated by comma: kw,right-Truncation |
407 |
my @indexes = map uri_unescape($_), $cgi->param('idx'); |
407 |
my @indexes = map uri_unescape($_), $cgi->multi_param('idx'); |
408 |
|
408 |
|
409 |
# if a simple index (only one) display the index used in the top search box |
409 |
# if a simple index (only one) display the index used in the top search box |
410 |
if ($indexes[0] && (!$indexes[1] || $params->{'scan'})) { |
410 |
if ($indexes[0] && (!$indexes[1] || $params->{'scan'})) { |
Lines 414-424
if ($indexes[0] && (!$indexes[1] || $params->{'scan'})) {
Link Here
|
414 |
} |
414 |
} |
415 |
|
415 |
|
416 |
# an operand can be a single term, a phrase, or a complete ccl query |
416 |
# an operand can be a single term, a phrase, or a complete ccl query |
417 |
my @operands = map uri_unescape($_), $cgi->param('q'); |
417 |
my @operands = map uri_unescape($_), $cgi->multi_param('q'); |
418 |
|
418 |
|
419 |
# limits are use to limit to results to a pre-defined category such as branch or language |
419 |
# limits are use to limit to results to a pre-defined category such as branch or language |
420 |
my @limits = map uri_unescape($_), $cgi->param('limit'); |
420 |
my @limits = map uri_unescape($_), $cgi->multi_param('limit'); |
421 |
my @nolimits = map uri_unescape($_), $cgi->param('nolimit'); |
421 |
my @nolimits = map uri_unescape($_), $cgi->multi_param('nolimit'); |
422 |
my %is_nolimit = map { $_ => 1 } @nolimits; |
422 |
my %is_nolimit = map { $_ => 1 } @nolimits; |
423 |
@limits = grep { not $is_nolimit{$_} } @limits; |
423 |
@limits = grep { not $is_nolimit{$_} } @limits; |
424 |
|
424 |
|