- Timestamp:
- 2006-09-28T14:57:32+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/colcfg.pm
r12326 r12897 50 50 # {'indexsubcollections'}->array of strings 51 51 # {'indexes'}->array of strings 52 # {'indexoptions'}->array of strings (stem, casefold, accentfold) 52 53 # {'dontbuild'}->array of strings 53 54 # {'dontgdbm'}->array of strings … … 82 83 q/no_strip_html|index|sections_index_document_metadata)$/, 83 84 q/(maintainer|languages|indexsubcollections|/ . 84 q/indexes| dontbuild|dontgdbm|mirror|levels|plugout|/ .85 q/indexes|indexoptions|dontbuild|dontgdbm|mirror|levels|plugout|/ . 85 86 q/searchtype|searchtypes)$/, 86 87 q/^(subcollection|format)$/, … … 102 103 q/no_strip_html|index|sections_index_document_metadata)$/, 103 104 q/^(maintainer|languages|indexsubcollections|/ . 104 q/indexes| dontbuild|dontgdbm|mirror|levels|/.105 q/indexes|indexoptions|dontbuild|dontgdbm|mirror|levels|/. 105 106 q/searchtype|searchtypes)$/, 106 107 q/^(subcollection|format)$/, … … 125 126 # {'indexmap'} -> array of strings 126 127 # {'indexlevels'} -> array of strings 128 # {'stemindexes'} -> string (int) 127 129 # {'textlevel'}->string 128 130 # {'levelmap'} -> array of strings in the form "level->shortname" … … 131 133 132 134 return &cfgread::read_cfg_file ($filename, 133 q/^(builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem)$/, 134 q/^(metadata|languages|indexfields|indexfieldmap|indexmap|indexlevels|levelmap)$/); 135 q/^(builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes)$/, 136 q/^(indexmap|subcollectionmap|languagemap|notbuilt|indexfields|indexfieldmap|indexlevels|levelmap)$/); 137 135 138 } 136 139 … … 139 142 140 143 &cfgread::write_cfg_file($filename, $data, 141 q/^(builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem )$/,142 q/^( metadata|languages|indexfieldsindexfieldmap|indexmap|indexlevels|levelmap)$/);144 q/^(builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes)$/, 145 q/^(indexmap|subcollectionmap|languagemap|notbuilt|indexfields|indexfieldmap|indexlevels|levelmap)$/); 143 146 } 144 145 147 146 148 1;
Note:
See TracChangeset
for help on using the changeset viewer.