1 |
--- #YAML:1.0 |
2 |
# DO NOT USE TABS FOR INDENTATION OR label/value SEPARATION!!! |
3 |
|
4 |
# configuration for hyper estraier full text search engine |
5 |
hyperestraier: |
6 |
#url: 'http://localhost:1978/node/webpac2' |
7 |
masterurl: 'http://localhost:1978' |
8 |
# defaultnode: 'webpac2' |
9 |
defaultnode: 'ps' |
10 |
defaultdepth: 1 |
11 |
user: 'admin' |
12 |
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 |
20 |
# |
21 |
# which tag type to use for search engine (used while indexing) |
22 |
type: 'search' |
23 |
# |
24 |
# options used for Catalyst only |
25 |
# |
26 |
# FIXME encoding comming from Catalyst. |
27 |
catalyst_encoding: 'UTF-8' |
28 |
|
29 |
webpac: |
30 |
# default template to use |
31 |
template: 'html_ffzg_results_short.tt' |
32 |
# path to database files |
33 |
db_path: '/data/webpac2/db' |
34 |
# path to templates used by WebPAC::Output |
35 |
template_path: '/data/webpac2/conf/output/tt' |
36 |
# default template for results |
37 |
default_template: 'html_ffzg.tt' |
38 |
# default user editable css file |
39 |
default_css: 'user.css' |
40 |
css_path: 'root/css' |
41 |
# encoding comming from webpac |
42 |
webpac_encoding: 'iso-8859-2' |
43 |
# encoding expected by Catalyst |
44 |
out_encoding: 'utf-8' |
45 |
|
46 |
# directives after this are used when indexing using core WebPAC modules |
47 |
|
48 |
databases: |
49 |
# Psihologija |
50 |
'ps': |
51 |
# all variables here will be available as config variables in template |
52 |
name: 'Knji¾nica psihologije' |
53 |
code: 'ps' |
54 |
|
55 |
# define input source |
56 |
input: |
57 |
# this will create unique name with name of database and mfn |
58 |
- name: libri |
59 |
# isis |
60 |
type: isis |
61 |
|
62 |
# full path to database |
63 |
path: '/data/isis_data/ffps-libri/LIBRI' |
64 |
|
65 |
# 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 |
- name: peri |
83 |
type: isis |
84 |
path: '/data/isis_data/ffps-peri/PERI' |
85 |
encoding: '852' |
86 |
lookup: 'conf/lookup/isis.pm' |
87 |
#limit: 100 |
88 |
normalize: |
89 |
tag: 'isis' |
90 |
path: 'conf/normalize/isis_ffzg.xml' |
91 |
|
92 |
# Komparativna |
93 |
kk: |
94 |
name: 'Komparativna' |
95 |
|
96 |
input: |
97 |
name: libri |
98 |
type: isis |
99 |
path: '/data/isis_data/ffkk/LIBRI' |
100 |
encoding: '852' |
101 |
lookup: 'conf/lookup/isis.pm' |
102 |
#limit: 100 |
103 |
normalize: |
104 |
tag: 'isis' |
105 |
path: 'conf/normalize/isis_ffzg.xml' |
106 |
|
107 |
jzav: |
108 |
name: 'Jadranski zavod' |
109 |
input: |
110 |
name: knjige |
111 |
type: isis |
112 |
path: '/data/isis_data/jzav/BIB' |
113 |
encoding: '852' |
114 |
lookup: 'conf/lookup/jzav.yml' |
115 |
#limit: 100 |
116 |
normalize: |
117 |
tag: 'isis' |
118 |
path: 'conf/normalize/isis_ffzg.xml' |