/[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 142 by dpavlin, Fri Nov 25 00:23:33 2005 UTC revision 244 by dpavlin, Wed Dec 14 23:04:13 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    #    #
14      # number of results on each page
15      hits_on_page: 30
16      # number of results to fetch for suggestion (it will fold multiple sameones)
17      hits_for_suggest: 20
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 36  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'  
   # 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      # Psihologija
55      'ps':
56        # all variables here will be available as config variables in template
57        name: 'Knjižnica psihologije'
58        code: 'ps'
59      
60        # define input source
61        input:
62          # this will create unique name with name of database and mfn
63          - name: libri
64            # isis
65            type: isis
66        
67            # full path to database
68            path: '/data/isis_data/ffps-libri/LIBRI'
69        
70            # encoding of character set in isis data
71            encoding: '852'
72        
73            # lookup
74            lookup: 'conf/lookup/isis.pm'
75        
76            # limit number of records to read from database
77            #limit: 100
78        
79            # define normalisation for that source
80            normalize:
81              # which tag to use in normalize xml for data?
82              tag: 'isis'
83              # path to normalization xml
84              path: 'conf/normalize/isis_ffzg.xml'
85      
86          # another input database
87          - name: peri
88            type: isis
89            path: '/data/isis_data/ffps-peri/PERI'
90            encoding: '852'
91            lookup: 'conf/lookup/isis.pm'
92            #limit: 100
93            normalize:
94              tag: 'isis'
95              path: 'conf/normalize/isis_ffzg.xml'
96    
97      # Komparativna
98      kk:
99        name: 'Komparativna'
100      
101        input:
102          name: libri
103          type: isis
104          path: '/data/isis_data/ffkk/LIBRI'
105          encoding: '852'
106          lookup: 'conf/lookup/isis.pm'
107          #limit: 100
108          normalize:
109            tag: 'isis'
110            path: 'conf/normalize/isis_ffzg.xml'
111      
112      jzav:
113        name: 'Jadranski zavod'
114        input:
115          name: knjige
116          type: isis
117          path: '/data/isis_data/jzav/BIB'
118          encoding: '852'
119          lookup: 'conf/lookup/jzav.yml'
120          #limit: 100
121          normalize:
122            tag: 'isis'
123            path: 'conf/normalize/isis_ffzg.xml'

Legend:
Removed from v.142  
changed lines
  Added in v.244

  ViewVC Help
Powered by ViewVC 1.1.26