$remove_stopwords
) = ( 0, 0, 0, 0, 0 );
}
+ # ISBN,ISSN,Standard Number, don't need special treatment
+ elsif ( $index eq 'nb' || $index eq 'ns' ) {
+ $indexes_set++;
+ (
+ $stemming, $auto_truncation,
+ $weight_fields, $fuzzy_enabled,
+ $remove_stopwords
+ ) = ( 0, 0, 0, 0, 0 );
+ }
# Set default structure attribute (word list)
my $struct_attr;
- unless ( !$index || $index =~ /(st-|phr|ext|wrdl)/ ) {
+ unless ( $indexes_set || !$index || $index =~ /(st-|phr|ext|wrdl)/ ) {
$struct_attr = ",wrdl";
}
<!-- TMPL_ELSE -->
<option value="su">Subject</option>
<!-- /TMPL_IF -->
- <!-- TMPL_IF NAME="ms_isbn" -->
- <option selected="selected" value="isbn">ISBN</option>
+ <!-- TMPL_IF NAME="ms_nb" -->
+ <option selected="selected" value="nb">ISBN</option>
<!-- TMPL_ELSE -->
- <option value="isbn">ISBN</option>
+ <option value="nb">ISBN</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="ms_se" -->
<option selected="selected" value="se">Series</option>