Changeset 4767


Ignore:
Timestamp:
2003-06-23T14:42:32+12:00 (21 years ago)
Author:
kjdon
Message:

now we have searchtype in the collect.cfg file - this is a list of strings. currently can be form or plain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/colcfg.pm

    r4725 r4767  
    5454# {'phind'}->array of strings
    5555# {'levels'}->array of strings (for mgpp eg Section, Paragraph)
     56# {'searchtype'}->array of strings (for mgpp, form or plain)
    5657
    5758# {'subcollection'}->hash of key-value pairs
     
    7778                    q/maxnumeric)$/,
    7879                    q/(maintainer|languages|indexsubcollections|/ .
    79                        q/indexes|dontbuild|dontgdbm|mirror|phind|levels)$/,
    80                     q/^(subcollection)$/,
     80                       q/indexes|dontbuild|dontgdbm|mirror|phind|levels|searchtype)$/,
     81                    q/^(subcollection|format)$/,
    8182                    q/^(importfrom|plugin|classify)$/,
    8283                    q/^(collectionmeta)$/);
     
    8586sub write_collect_cfg {
    8687    my ($filename, $data) = @_;
    87 
     88   
    8889    &cfgread::write_cfg_file($filename, $data,
    8990                 q/^(creator|public|defaultindex|importdir|/ .
     
    9293                 q/allclassifications|maxnumeric)$/,
    9394                 q/^(maintainer|languages|indexsubcollections|/ .
    94                  q/indexes|dontbuild|dontgdbm|levels)$/,
     95                 q/indexes|dontbuild|dontgdbm|levels|searchtype)$/,
    9596                 q/^(subcollection)$/,
    9697                 q/^(importfrom|plugin|classify)$/,
Note: See TracChangeset for help on using the changeset viewer.