--- Webpacus/config.yml 2005/11/26 01:54:31 153 +++ Webpacus/config.yml 2005/12/05 19:15:01 222 @@ -3,7 +3,11 @@ # configuration for hyper estraier full text search engine hyperestraier: - url: 'http://localhost:1978/node/webpac2' + #url: 'http://localhost:1978/node/webpac2' + masterurl: 'http://localhost:1978' +# defaultnode: 'webpac2' + defaultnode: 'ps' + defaultdepth: 1 user: 'admin' passwd: 'admin' # @@ -14,8 +18,6 @@ # # options used while indexing # - # name of database (not used yet, but required) - database: 'test' # which tag type to use for search engine (used while indexing) type: 'search' # @@ -43,23 +45,63 @@ # directives after this are used when indexing using core WebPAC modules -input: - # isis - type: isis - # full path to database -# path: '/data/isis_data/ps/LIBRI/LIBRI' - path: '/data/isis_data/ffkk/LIBRI' - # encoding of character set in isis data - encoding: '852' - # lookup - lookup: 'conf/lookup/isis.pm' - # limit number of records to read from database -# limit: 100 - -normalize: - # which tag to use in normalize xml for data? - tag: 'isis' - # path to normalization xml - path: 'conf/normalize/isis_ffzg.xml' - - +databases: + # Psihologija + 'ps': + # all variables here will be available as config variables in template + name: 'Knjižnica psihologije' + code: 'ps' + + # define input source + input: + # this will create unique name with name of database and mfn + name: libri + # isis + type: isis + + # full path to database + path: '/data/isis_data/ffps-libri/LIBRI' + + # encoding of character set in isis data + encoding: '852' + + # lookup + lookup: 'conf/lookup/isis.pm' + + # limit number of records to read from database + #limit: 100 + + # define normalisation for that source + normalize: + # which tag to use in normalize xml for data? + tag: 'isis' + # path to normalization xml + path: 'conf/normalize/isis_ffzg.xml' + + # another input database + input: + name: peri + type: isis + path: '/data/isis_data/ffps-peri/PERI' + encoding: '852' + lookup: 'conf/lookup/isis.pm' + #limit: 100 + normalize: + tag: 'isis' + path: 'conf/normalize/isis_ffzg.xml' + + # Kooo... k? + kk: + name: 'Tko zna?' + + input: + name: libri + type: isis + path: '/data/isis_data/ffkk/LIBRI' + encoding: '852' + lookup: 'conf/lookup/isis.pm' + #limit: 100 + normalize: + tag: 'isis' + path: 'conf/normalize/isis_ffzg.xml' +