/[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 270 by dpavlin, Sat Dec 17 00:37:12 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 41  webpac: Line 43  webpac:
43    # encoding expected by Catalyst    # encoding expected by Catalyst
44    out_encoding: 'utf-8'    out_encoding: 'utf-8'
45    
46  # directives after this are used when indexing using core WebPAC modules  editor:
47      # open this record when opening editor
48  input:    # (it will also be used to deduce default database and input)
49    # isis    default_record_uri: 'ps/libri/1'
   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'  
50    
51    # directives after this are used when indexing using core WebPAC modules
52    
53    databases:
54      # This is empty database created only in Hyper Estraier to merge
55      # all three databases
56      'webpac2':
57        name: 'Search all'
58        links:
59          - to: ps
60            credit: 10000
61          - to: kk
62            credit: 10000
63          - to: jzav
64            credit: 10000
65    
66    
67      # Psihologija
68      'ps':
69        # all variables here will be available as config variables in template
70        name: 'Knjižnica psihologije'
71        code: 'ps'
72      
73        # define input source
74        input:
75          # this will create unique name with name of database and mfn
76          - name: libri
77            # isis
78            type: isis
79        
80            # full path to database
81            path: '/data/isis_data/ffps-libri/LIBRI'
82        
83            # encoding of character set in isis data
84            encoding: '852'
85        
86            # lookup
87            lookup: 'conf/lookup/isis.pm'
88        
89            # limit number of records to read from database
90            limit: 100
91        
92            # define normalisation for that source
93            normalize:
94              # which tag to use in normalize xml for data?
95              tag: 'isis'
96              # path to normalization xml
97              #path: 'conf/normalize/isis_ffzg.xml'
98              path: 'conf/normalize/isis_ffzg.yml'
99      
100          # another input database
101          - name: peri
102            type: isis
103            path: '/data/isis_data/ffps-peri/PERI'
104            encoding: '852'
105            lookup: 'conf/lookup/isis.pm'
106            limit: 100
107            normalize:
108              tag: 'isis'
109              path: 'conf/normalize/isis_ffzg.xml'
110    
111      # Komparativna
112      kk:
113        name: 'Komparativna'
114      
115        input:
116          name: libri
117          type: isis
118          path: '/data/isis_data/ffkk/LIBRI'
119          encoding: '852'
120          lookup: 'conf/lookup/isis.pm'
121          limit: 100
122          normalize:
123            tag: 'isis'
124            path: 'conf/normalize/isis_ffzg.xml'
125      
126      jzav:
127        name: 'Jadranski zavod'
128        input:
129          name: knjige
130          type: isis
131          path: '/data/isis_data/jzav/BIB'
132          encoding: '852'
133          lookup: 'conf/lookup/jzav.yml'
134          limit: 1
135          normalize:
136            tag: 'isis'
137            path: 'conf/normalize/isis_ffzg.xml'

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

  ViewVC Help
Powered by ViewVC 1.1.26