Tests on SOLR, plottable data out of pazpar2, plot script
[pazpar2-moved-to-github.git] / heikki / dbc-os / dbc-opensearch-gw.cfg
1 # Config file for dbc-opensearch
2 #
3 # The program first tries to load /etc/dbc-opensearch-gw.cfg
4 # If that fails, tries to load dbc-opensearch-gw.cfg in current dir
5 # If that fails, outputs a warning and runs with defaults.
6
7 # Defining the back end
8
9 # These three are concatenated to get the URL to the opensearch server.
10 # Later more stuff is appended, like the query, start and number of records,
11 # etc. Any URL parameter can be overridden in the database name, see below
12
13 database: Default
14 baseurl: http://openbibdk.addi.dk/0.8/
15 objectformat: dkabm
16 #constantparams: action=search&facets.numberOfTerms=10&facets.facetName=facet.creator&facets.facetName=facet.type&facets.facetName=facet.subject&agency=100200&profile=test&collectionType=work
17 #constantparams: action=search&agency=100200&profile=test&collectionType=work&rank=rank_general
18 constantparams: action=search&agency=100200&profile=test&collectionType=work
19 fields: bibliotek.dk.fields.txt
20
21 database: bibliotek.work
22 baseurl: http://openbibdk.addi.dk/0.8/
23 objectformat: marcxchange
24 constantparams: action=search&facets.numberOfTerms=10&facets.facetName=facet.creator&facets.facetName=facet.type&facets.facetName=facet.subject&agency=100200&profile=test&collectionType=work
25 fields: bibliotek.dk.fields.txt
26
27
28 database: bibliotek.manifestation
29 baseurl: http://openbibdk.addi.dk/0.8/
30 objectformat: marcxchange
31 constantparams: action=search&facets.numberOfTerms=10&facets.facetName=facet.creator&facets.facetName=facet.type&facets.facetName=facet.subject&agency=100200&profile=test&collectionType=manifestation
32 fields: bibliotek.dk.fields.txt
33
34 # Looks like the collectionType can be one of
35 #  'manifestation'  for single records
36 #  'work'           for some kind of clustered records
37 #  'work-1'         looks like manifestation to me, but can be something else
38
39 # agency=400151 gets (only) music stuff, and that has no marc stuff
40 # agency=100200 returns books and articles, that can handle marc stuff
41 #
42 # includeMarcXchange=true asks for MarcXchange record (in some versions).
43 # OR objectFormat=marcxchange (other versions)
44
45 #chunksize: 10; # initial number of records to get, grows to max present req.
46
47 # Set to 1 to get much more debug log
48 debug: 0
49 #debug: 1
50
51 # Instead of talking to opensearch, it is possible to load test data from
52 # a file. The start position and number of records is appended to the file
53 # name given below, so that you can test with different files.
54 #test_data: /tmp/test_data_file # f.ex. /tmp/test_data_file_1_10.xml
55
56 # Formatting of the results
57 #  0 - do not format
58 #  1 - do format
59 #  (passed directly to LibXML's toString)
60 #prettyxml: 0
61 prettyxml: 1
62
63 # Operators
64 #op_and: AND
65 #op_or: OR
66 #op_not: NOT
67
68