|
Lines 950-968
sub buildQuery {
Link Here
|
| 950 |
# Date of Publication |
950 |
# Date of Publication |
| 951 |
if ( $index eq 'yr' ) { |
951 |
if ( $index eq 'yr' ) { |
| 952 |
$index .= ",st-numeric"; |
952 |
$index .= ",st-numeric"; |
| 953 |
$indexes_set++; |
953 |
# $indexes_set++; |
| 954 |
$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0; |
954 |
$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0; |
| 955 |
} |
955 |
} |
| 956 |
|
956 |
|
| 957 |
# Date of Acquisition |
957 |
# Date of Acquisition |
| 958 |
elsif ( $index eq 'acqdate' ) { |
958 |
elsif ( $index eq 'acqdate' ) { |
| 959 |
$index .= ",st-date-normalized"; |
959 |
$index .= ",st-date-normalized"; |
| 960 |
$indexes_set++; |
960 |
# $indexes_set++; |
| 961 |
$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0; |
961 |
$stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = $remove_stopwords = 0; |
| 962 |
} |
962 |
} |
| 963 |
# ISBN,ISSN,Standard Number, don't need special treatment |
963 |
# ISBN,ISSN,Standard Number, don't need special treatment |
| 964 |
elsif ( $index eq 'nb' || $index eq 'ns' ) { |
964 |
elsif ( $index eq 'nb' || $index eq 'ns' ) { |
| 965 |
$indexes_set++; |
965 |
# $indexes_set++; |
| 966 |
( |
966 |
( |
| 967 |
$stemming, $auto_truncation, |
967 |
$stemming, $auto_truncation, |
| 968 |
$weight_fields, $fuzzy_enabled, |
968 |
$weight_fields, $fuzzy_enabled, |
|
Lines 1124-1133
sub buildQuery {
Link Here
|
| 1124 |
|
1124 |
|
| 1125 |
# Regular old limits |
1125 |
# Regular old limits |
| 1126 |
else { |
1126 |
else { |
| 1127 |
$limit .= " and " if $limit || $query; |
1127 |
if ($this_limit){ |
| 1128 |
$limit .= "$this_limit"; |
1128 |
$limit .= " and " if $limit || $query; |
| 1129 |
$limit_cgi .= "&limit=$this_limit"; |
1129 |
$limit .= "$this_limit"; |
| 1130 |
$limit_desc .= " $this_limit"; |
1130 |
$limit_cgi .= "&limit=$this_limit"; |
|
|
1131 |
$limit_desc .= " $this_limit"; |
| 1132 |
} |
| 1131 |
} |
1133 |
} |
| 1132 |
} |
1134 |
} |
| 1133 |
if ($group_OR_limits) { |
1135 |
if ($group_OR_limits) { |
| 1134 |
- |
|
|