/[webpac2]/Webpacus/config.yml
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Webpacus/config.yml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 153 by dpavlin, Sat Nov 26 01:54:31 2005 UTC revision 222 by dpavlin, Mon Dec 5 19:15:01 2005 UTC
# Line 3  Line 3 
3    
4  # configuration for hyper estraier full text search engine  # configuration for hyper estraier full text search engine
5  hyperestraier:  hyperestraier:
6    url: 'http://localhost:1978/node/webpac2'    #url: 'http://localhost:1978/node/webpac2'
7      masterurl: 'http://localhost:1978'
8    #  defaultnode: 'webpac2'
9      defaultnode: 'ps'
10      defaultdepth: 1
11    user: 'admin'    user: 'admin'
12    passwd: 'admin'    passwd: 'admin'
13    #    #
# Line 14  hyperestraier: Line 18  hyperestraier:
18    #    #
19    # options used while indexing    # options used while indexing
20    #    #
   # name of database (not used yet, but required)  
   database: 'test'  
21    # which tag type to use for search engine (used while indexing)    # which tag type to use for search engine (used while indexing)
22    type: 'search'    type: 'search'
23    #    #
# Line 43  webpac: Line 45  webpac:
45    
46  # directives after this are used when indexing using core WebPAC modules  # directives after this are used when indexing using core WebPAC modules
47    
48  input:  databases:
49    # isis    # Psihologija
50    type: isis    'ps':
51    # full path to database      # all variables here will be available as config variables in template
52  #  path: '/data/isis_data/ps/LIBRI/LIBRI'      name: 'Knjižnica psihologije'
53    path: '/data/isis_data/ffkk/LIBRI'      code: 'ps'
54    # encoding of character set in isis data    
55    encoding: '852'      # define input source
56    # lookup      input:
57    lookup: 'conf/lookup/isis.pm'        # this will create unique name with name of database and mfn
58    # limit number of records to read from database        name: libri
59  #  limit: 100        # isis
60          type: isis
61  normalize:    
62    # which tag to use in normalize xml for data?        # full path to database
63    tag: 'isis'        path: '/data/isis_data/ffps-libri/LIBRI'
64    # path to normalization xml    
65    path: 'conf/normalize/isis_ffzg.xml'        # encoding of character set in isis data
66          encoding: '852'
67      
68          # lookup
69          lookup: 'conf/lookup/isis.pm'
70      
71          # limit number of records to read from database
72          #limit: 100
73      
74          # define normalisation for that source
75          normalize:
76            # which tag to use in normalize xml for data?
77            tag: 'isis'
78            # path to normalization xml
79            path: 'conf/normalize/isis_ffzg.xml'
80    
81        # another input database
82        input:
83          name: peri
84          type: isis
85          path: '/data/isis_data/ffps-peri/PERI'
86          encoding: '852'
87          lookup: 'conf/lookup/isis.pm'
88          #limit: 100
89          normalize:
90            tag: 'isis'
91            path: 'conf/normalize/isis_ffzg.xml'
92    
93      # Kooo... k?
94      kk:
95        name: 'Tko zna?'
96      
97        input:
98          name: libri
99          type: isis
100          path: '/data/isis_data/ffkk/LIBRI'
101          encoding: '852'
102          lookup: 'conf/lookup/isis.pm'
103          #limit: 100
104          normalize:
105            tag: 'isis'
106            path: 'conf/normalize/isis_ffzg.xml'
107      

Legend:
Removed from v.153  
changed lines
  Added in v.222

  ViewVC Help
Powered by ViewVC 1.1.26