Added 'termlist' to config file. Notes.
[pazpar2-moved-to-github.git] / etc / pazpar2.cfg
1 <?xml version="1.0" encoding="UTF-8"?>
2 <pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
3
4 <!-- NOTE: This is not yet a functional config file. It's meant as a scratchpad/
5      discussion area to figure out just how the heck to structure this kind of
6      configuration.
7 -->
8
9 <!-- thought... right now there is only one global 'service' in the code, but
10      it will be pretty simple to make this repeatable, and I think that should
11      be done at some point (this will eliminate most of the global parameters.
12      But it might be nice to have 'virtual' targets, so differrent sets of
13      configuration could live within one listener (on a single
14      port). -->
15
16 <service>
17     <listen port="9004"/>
18     <proxy host="localhost" port="80"/>
19
20     <termlist name="subject"/>
21     <termlist name="author"/>
22
23     <metadata name="title"/>
24 </service>
25
26 <!-- Need to figure out where to get ZeeRex records for targets from -->
27
28 <!-- The 'profiles' below are repeatable, and tagged with an ID, so that they
29      can be linked with targets. -->
30
31 <!-- Oooh!!! They can be generated dynamically using XSLT. I just peed in my pants. -->
32
33 <queryprofile/>  <!-- Like a CCL profile? Or do these need to be 
34                         dynamically generated from Zeerex??  -->
35
36 <retrievalprofile/>   <!-- Specify what stylesheets to use to normalize records?? -->
37
38 </pazpar2>