]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/examples/opensrf.xml.example
LP1831390: combobox and date-select implement ControlValueAccessor
[Evergreen.git] / Open-ILS / examples / opensrf.xml.example
1 <?xml version='1.0'?>
2
3 <!-- 
4 Example opensrf config file for OpenILS
5 vim:et:ts=4:sw=4:
6 -->
7
8 <opensrf version='0.0.3'>
9
10     <default>
11
12         <!-- unless otherwise overidden, use this locale -->
13         <default_locale>en-US</default_locale>
14
15         <dirs>
16             <log>LOCALSTATEDIR/log</log> <!-- unix::server log files -->
17             <sock>LOCALSTATEDIR/lock</sock> <!-- unix::server sock files -->
18             <pid>LOCALSTATEDIR/run</pid>
19             <xsl>LOCALSTATEDIR/xsl</xsl>
20             <script>LOCALSTATEDIR</script>
21             <script_lib>LOCALSTATEDIR</script_lib>
22             <templates>LOCALSTATEDIR/templates</templates>
23         </dirs>
24
25         <!-- global data visibility settings -->
26         <share>
27             <user>
28                 <!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
29                 <opt_in>false</opt_in>
30             </user>
31         </share>
32
33         <IDL>SYSCONFDIR/fm_IDL.xml</IDL> <!-- top level IDL file -->
34         <IDL2js>fm_IDL2js.xsl</IDL2js> <!-- IDL JS XSLT -->
35
36
37         <server_type>prefork</server_type> <!-- net::server type -->
38
39         <ils_events>LOCALSTATEDIR/data/ils_events.xml</ils_events> <!-- ILS events description file -->
40
41         <email_notify> <!-- this will eventually move into the notifications section below... -->
42             <!-- global email notification settings -->
43             <template>LOCALSTATEDIR/data/hold_notification_template.example</template>
44             <smtp_server>localhost</smtp_server>
45
46             <!--
47             in most cases, this is overridden by location 
48             specific config settings.  this is just the default
49             -->
50             <sender_address>evergreen@localhost</sender_address>
51         </email_notify>
52
53
54       <notifications>
55         <!-- global mail server settings -->
56         <smtp_server>localhost</smtp_server>
57         <sender_address>evergreen@localhost</sender_address>
58
59         <!-- global telephony (asterisk) settings -->
60         <telephony>
61             <!-- replace all values below when telephony server is configured -->
62             <enabled>0</enabled>
63             <driver>SIP</driver>    <!-- SIP (default) or multi -->
64             <channels>              <!-- explicit list of channels used if multi -->
65                                     <!-- A channel specifies technology/resource -->
66                 <channel>Zap/1</channel>
67                 <channel>Zap/2</channel>
68                 <channel>IAX/user:secret@widgets.biz</channel>
69             </channels>
70             <host>localhost</host>
71             <port>10080</port>
72             <user>evergreen</user>
73             <pw>evergreen</pw>
74             <!--
75                 The overall composition of callfiles is determined by the
76                 relevant template, but this section can be invoked for callfile
77                 configs common to all outbound calls.
78                 callfile_lines will be inserted into ALL generated callfiles
79                 after the Channel line.  This content mat be overridden
80                 (in whole) by the org unit setting callfile_lines.
81                 Warning: Invalid syntax may break ALL outbound calls.
82             -->
83             <!-- <callfile_lines>
84                 MaxRetries: 3
85                 RetryTime: 60
86                 WaitTime: 30
87                 Archive: 1
88                 Extension: 10
89             </callfile_lines> -->
90         </telephony>
91
92         <!-- Overdue notices: DEPRECATED in 2.0 in favour of Action/Trigger Notifications -->
93         <overdue>
94
95             <!-- optionally, you can define a sender address per notice type -->
96             <sender_address>overdue@localhost</sender_address>
97
98             <!-- The system can generate an XML file of overdue notices.  This is the
99                 directory where they are stored.  Files are named overdue.YYYY-MM-DD.xml -->
100             <notice_dir>LOCALSTATEDIR/data/overdue</notice_dir>
101             <combined_template>LOCALSTATEDIR/data/templates/overdue_combined_xml.example</combined_template>
102
103             <notice>
104                 <!-- Notify at 7 days overdue -->
105                 <notify_interval>7 days</notify_interval>
106                 <!-- Options include always, noemail, and never.  'noemail' means a notice
107                      will be appended to the notice file only if the patron has no valid email address.  -->
108                 <file_append>noemail</file_append>
109                 <!-- do we attempt email notification? -->
110                 <email_notify>false</email_notify>
111                 <!-- notice template file -->
112                 <email_template>LOCALSTATEDIR/data/templates/overdue_7day.example</email_template>
113             </notice>
114         </overdue>
115
116         <!-- Courtesy notices: DEPRECATED in 2.0 in favour of Action/Trigger Notifications -->
117         <predue>
118             <notice>
119                 <!-- All circulations that circulate between 5 and 13 days -->
120                 <circ_duration_range>
121                     <from>5 days</from>
122                     <to>13 days</to>
123                 </circ_duration_range>
124                 <!-- notify at 1 day before the due date -->
125                 <notify_interval>1 day</notify_interval>
126                 <file_append>false</file_append>
127                 <email_notify>false</email_notify>
128                 <email_template>LOCALSTATEDIR/data/templates/predue_1day.example</email_template>
129             </notice>
130         </predue>
131       </notifications>
132
133         <!-- Settings for the hold targeter cron job -->
134         <hold_targeter>
135             <!-- number of parallel processes to use during hold targeting;
136                  increasing can speed up (re)targeting a large number of
137                  hold requests, but with diminishing returns after a point;
138                  if increasing this value, it is recommend to do so slowly
139             -->
140             <parallel>1</parallel>
141         </hold_targeter>
142
143         <!-- Settings for the fine generator cron job -->
144         <fine_generator>
145             <!-- number of parallel processes to use during fine generation -->
146             <parallel>1</parallel>
147         </fine_generator>
148         
149         <reporter>
150             <!--
151             Settings for the reporter daemon process 
152             -->
153             <setup>
154                 <base_uri>https://localhost/reporter/</base_uri>
155                 <database>
156                     <driver>Pg</driver>
157                     <host>localhost</host>
158                     <port>5432</port>
159                     <db>evergreen</db>
160                     <user>postgres</user>
161                     <pw>postgres</pw>
162                     <application_name>Clark Kent (reports)</application_name>
163                 </database>
164                 <state_store>
165                     <driver>Pg</driver>
166                     <host>localhost</host>
167                     <port>5432</port>
168                     <db>evergreen</db>
169                     <user>postgres</user>
170                     <pw>postgres</pw>
171                     <application_name>Clark Kent (state)</application_name>
172                 </state_store>
173                 <files>
174                     <!-- successful report outputs go here -->
175                     <output_base>LOCALSTATEDIR/web/reporter</output_base>
176                     <success_template>LOCALSTATEDIR/data/report-success</success_template>
177                     <fail_template>LOCALSTATEDIR/data/report-fail</fail_template>
178                 </files>
179                 <!-- Number of reports that can be processed simultaneously.  This
180                      value can overriden by the -c/-concurrency command-line switch
181                      of clark-kent.pl.
182                 -->
183                 <parallel>1</parallel>
184                 <!-- Maximum number of rows in the query results allowed before
185                      Clark will refuse to draw a pie, bar, or line chart.  This
186                      value can be overriden by the -max-rows-for-charts command-line
187                      switch of clark-kent.pl.
188                 -->
189                 <max_rows_for_charts>1000</max_rows_for_charts>
190                 <!-- Maximum amount of time (in minutes) that an SQL query initiated
191                      by Clark Kent will be allowed to run before it is terminated.
192                      This value can be overriden by the -statement-timeout
193                      command-line switch of clark-kent.pl.
194                 -->
195                 <statement_timeout>60</statement_timeout>
196                 <!-- Maximum number of results permitted.  If set to a numeric value,
197                      Clark will limit the number of rows returned by report queries
198                      to this value.  Note that it will not be apparent to a user
199                      running a report from the staff interface that their report
200                      has been limited in this fashion.  This setting can be
201                      overriden by the -resultset-limit command-line switch of
202                      clark-kent.pl.
203
204                      A value of 0 means that no limit should be set.
205                 -->
206                 <resultset_limit>1048575</resultset_limit>
207             </setup>
208         </reporter>
209
210
211
212         <xml-rpc>
213             <!-- XML-RPC gateway.  Do NOT publish unprotected services here -->
214             <allowed_services>
215                 <!-- list of published services -->
216                 <service>opensrf.math</service>
217                 <service>opensrf.dbmath</service>
218                 <service>open-ils.cat</service>
219                 <service>open-ils.search</service>
220                 <service>open-ils.circ</service>
221                 <service>open-ils.actor</service>
222                 <service>open-ils.auth</service>
223                 <service>open-ils.auth_proxy</service>
224                 <service>open-ils.collections</service>
225                 <service>open-ils.justintime</service>
226             </allowed_services>
227         </xml-rpc>
228
229         <!--
230         Once upon a time, Z39.50 servers were defined here. As of Evergreen 2.2,
231         they are now defined in the database. See the Release Notes for
232         instructions on mapping the old XML entries to database tables.
233         -->
234
235         <http_client>
236             <!--
237             These settings are used by the OpenILS::Utils::HTTPClient module
238             when communicating with external services (e.g. third-party APIs)
239             over HTTP.  Values are passed along to LWP::UserAgent.
240             -->
241
242             <!-- custom useragent for HTTP requests
243             <useragent>Evergreen</useragent>
244             -->
245
246             <!-- default timeout value (in seconds) -->
247             <default_timeout>60</default_timeout>
248
249             <ssl_opts>
250                 <!--
251                 When using HTTPS, verify that the external server has a valid
252                 SSL certificate matching the expected hostname.  (Set to 0 to
253                 disable verification, 1 to enable it.)
254                 -->
255                 <verify_hostname>1</verify_hostname>
256
257                 <!--
258                 If verify_hostname is enabled, you may need to specify a path
259                 for CA certificates installed on your system.  Use ONE of the
260                 following settings.  See LWP::UserAgent docs for details.
261                 <SSL_ca_path>/etc/ssl/certs</SSL_ca_path>
262                 <SSL_ca_file>/etc/ssl/certs/ca-certificates.crt</SSL_ca_file>
263                 -->
264             </ssl_opts>
265
266         </http_client>
267
268         <added_content>
269             <!-- load the OpenLibrary added content module -->
270             <module>OpenILS::WWW::AddedContent::OpenLibrary</module>
271
272             <!--
273             Max number of seconds to wait for an added content request to 
274             return data.  Data not returned within the timeout is considered
275             a failure.
276
277             Note that the pool of Apache processes used by the AddedContent
278             module is the same pool used by core Evergreen processes such as
279             search, circulation, etc. Therefore, the higher you set this
280             timeout value, the more likely you are to run out of available
281             Apache processes resulting in an accidental (or purposeful) denial
282             of service - particularly if the added content server starts
283             responding abnormally slowly.
284
285             The safest option is to disable the AddedContent module completely,
286             but 3 seconds is a compromise between the threat of a denial of
287             service and the enhanced user experience offered by successful added
288             content requests.
289             -->
290             <timeout>3</timeout>
291
292             <!--
293             After added content lookups have been disabled due to too many
294             lookup failures, this is the amount of time to wait before
295             we try again
296             -->
297             <retry_timeout>600</retry_timeout>
298
299             <!--
300             maximum number of consecutive lookup errors a given process can 
301             have before added content lookups are disabled for everyone
302             -->
303             <max_errors>15</max_errors>
304
305             <!-- If a userid is required to access the added content.. -->
306             <userid>MY_USER_ID</userid>
307
308             <!--
309             Base URL for Amazon added content fetching. Not needed by OpenLibrary
310             <base_url>http://images.amazon.com/images/P/</base_url>
311             -->
312
313             <!--
314             Segregating the details for ContentCafe out for easier use.  At some point, we
315             may want to support multiple services at one time.
316             -->
317             <ContentCafe>
318                 <userid>MY_USER_ID</userid>
319                 <password>MY_PASSWORD</password>
320
321                 <!--
322                 Which order to put identifiers in.
323                 Default is "isbn,upc", ignoring currently unsupported issn.
324                 Should be all lowercase.
325                 Remove an identifier from the list to skip it.
326                 -->
327                 <identifier_order>isbn,upc</identifier_order>
328             </ContentCafe>
329
330             <!--
331             Segregating the details for obalkyknih.cz out for easier use.
332             -->
333             <ObalkyKnih>
334                 <!-- Covers are there always -->
335
336                 <!-- Annotations provided by obalkyknih.cz is mapped to evergreen summary -->
337                 <summary>false</summary>
338                 
339                 <!-- Provider obalkyknih.cz provides TOC as text and as PDF plus thumbnail -->
340                 <tocPdf>true</tocPdf>
341                 <tocText>false</tocText>
342                 
343                 <!-- User reviews from obalkyknih.cz -->
344                 <reviews>true</reviews>
345
346             </ObalkyKnih>
347
348             <!--
349  
350             You can add free-form settings here and they will be accessible
351             within the added content module
352             -->
353
354         </added_content>
355
356         <!-- Config section for acq_order_reader.pl script.
357              It reads MARC order record files from disk (presumably
358              an FTP destination) and pushes the order records into ACQ.
359              THIS IS NOT EDI. -->
360         <acq_order_reader>
361
362             <!-- Root directory for all FTP'd ACQ order record files .
363                  If the script is configured to talk to a remote acq server,
364                  this directory has to be a read/write NFS share.  -->
365             <base_dir>/openils/var/data/acq_orders/</base_dir>
366
367             <!-- any files found in the shared subdir must be inspected
368                  (e.g. file name prefix) to determine the provider. -->
369             <shared_subdir>ALL</shared_subdir><!-- SUPPORT PENDING -->
370
371             <!-- providers that don't provide a mechanism to inspect the file
372                  have to push their files to provider-specific locations -->
373             <provider>
374                 <ordering_agency>BR1</ordering_agency> <!-- who gets/manages the order -->
375                 <provider_code>BAB</provider_code>   
376                 <provider_owner>CONS</provider_owner>  <!-- provider provider_owner; org unit shortname -->
377                 <subdir>CONS-BAB</subdir> <!-- file directory;  full path = base_dir + subdir -->
378                 <activate_po>false</activate_po> <!-- activate PO at upload? -->
379                 <vandelay>
380                     <import_no_match>true</import_no_match>
381                     <!-- Most Vandelay options are supported.  For bools, use true/false.
382                         match_quality_ratio 
383                         match_set 
384                         bib_source 
385                         merge_profile
386                         create_assets
387                         import_no_match 
388                         auto_overlay_exact 
389                         auto_overlay_1match 
390                         auto_overlay_best_match
391                     -->
392                 </vandelay>
393             </provider>
394
395             <!-- Add more as needed...
396             <provider>
397                 ...
398             </provider>
399             -->
400
401         </acq_order_reader>
402
403
404         <!-- no apps are enabled globally by default -->
405         <activeapps/> 
406
407         <cache>
408             <!-- memcache servers -->
409             <global>
410                 <servers>
411                     <server>127.0.0.1:11211</server>
412                 </servers>
413                 <max_cache_time>86400</max_cache_time>
414             </global>
415             <anon>
416                 <!-- anonymous cache.  currently, primarily used for web session caching -->
417                 <servers>
418                     <server>127.0.0.1:11211</server>
419                 </servers>
420                 <max_cache_time>1800</max_cache_time>
421                 <!-- maximum size of a single cache entry / default = 100k-->
422                 <max_cache_size>102400</max_cache_size>
423             </anon>
424         </cache>
425
426         <apps>
427             <!-- Acquisitions server -->
428             <open-ils.acq>
429                 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
430                 <keepalive>5</keepalive>
431                 <!-- true if this service support stateless requests -->
432                 <stateless>1</stateless>
433                 <!-- implementation language -->
434                 <language>perl</language>
435                 <!-- name of the library that implements this application -->
436                 <implementation>OpenILS::Application::Acq</implementation>
437                 <!-- maximum OpenSRF REQUEST within a stateful connection -->
438                 <max_requests>100</max_requests>
439                 <unix_config>
440                     <!--
441                     maximum number of top level requests coming to 
442                     this child before the child is recycled
443                     -->
444                     <max_requests>100</max_requests>
445                     <!-- min children to fork -->
446                     <min_children>1</min_children>
447                     <!-- max possible children to fork -->
448                     <max_children>15</max_children>
449                     <!--
450                     C forking implementation does not support 
451                     min/max idle children, but may in the future
452                     -->
453
454                     <!-- min idle children -->
455                     <min_spare_children>1</min_spare_children>
456                     <!-- max idle children -->
457                     <max_spare_children>5</max_spare_children>
458                     <!-- currently, only Perl uses the following 3 settings -->
459                     <unix_sock>open-ils.acq_unix.sock</unix_sock>
460                     <unix_pid>open-ils.acq_unix.pid</unix_pid>
461                     <unix_log>open-ils.acq_unix.log</unix_log>
462                 </unix_config>
463             </open-ils.acq>
464
465             <!-- Authentication server -->
466             <open-ils.auth>
467                 <keepalive>5</keepalive>
468                 <stateless>1</stateless>
469                 <language>c</language>
470                 <implementation>liboils_auth.so</implementation>
471                 <unix_config>
472                     <max_requests>1000</max_requests>
473                     <min_children>1</min_children>
474                     <max_children>15</max_children>
475                     <min_spare_children>1</min_spare_children>
476                     <max_spare_children>5</max_spare_children>
477                 </unix_config>
478                 <app_settings>
479                     <!-- defined app-specific settings here -->
480                     <auth_limits>
481                         <seed>30</seed> <!-- amount of time a seed request is valid for -->
482                         <block_time>90</block_time> <!-- amount of time since last auth or seed request to save failure counts -->
483                         <block_count>10</block_count> <!-- number of failures before blocking access -->
484                     </auth_limits>
485                 </app_settings>
486             </open-ils.auth>
487
488             <!-- Internal authentication server -->
489             <open-ils.auth_internal>
490                 <keepalive>5</keepalive>
491                 <stateless>1</stateless>
492                 <language>c</language>
493                 <implementation>liboils_auth_internal.so</implementation>
494                 <unix_config>
495                     <max_requests>1000</max_requests>
496                     <min_children>1</min_children>
497                     <max_children>15</max_children>
498                     <min_spare_children>1</min_spare_children>
499                     <max_spare_children>5</max_spare_children>
500                 </unix_config>
501                 <app_settings>
502                     <!-- defined app-specific settings here -->
503                     <default_timeout>
504                         <!-- default login timeouts based on login type -->
505                         <opac>420</opac>
506                         <staff>7200</staff>
507                         <temp>300</temp>
508                         <persist>2 weeks</persist>
509                     </default_timeout>
510                 </app_settings>
511             </open-ils.auth_internal>
512
513
514
515             <!-- Authentication proxy server -->
516             <open-ils.auth_proxy>
517                 <keepalive>5</keepalive>
518                 <stateless>1</stateless>
519                 <language>perl</language>
520                 <implementation>OpenILS::Application::AuthProxy</implementation>
521                 <max_requests>93</max_requests>
522
523                 <unix_config>
524                     <max_requests>1000</max_requests>
525                     <unix_log>open-ils.auth-proxy_unix.log</unix_log>
526                     <unix_sock>open-ils.auth-proxy_unix.sock</unix_sock>
527                     <unix_pid>open-ils.auth-proxy_unix.pid</unix_pid>
528                     <min_children>1</min_children>
529                     <max_children>15</max_children>
530                     <min_spare_children>1</min_spare_children>
531                     <max_spare_children>5</max_spare_children>
532                 </unix_config>
533
534                 <app_settings>
535                     <!-- 'enabled' is the master switch; set to 'true' to enable proxied logins -->
536                     <enabled>false</enabled>
537                     <authenticators>
538                         <!-- the following is a sample configuration for the LDAP_Auth module; please adjust as needed -->
539                         <!--
540                         <authenticator>
541                             <name>ldap</name>
542                             <module>OpenILS::Application::AuthProxy::LDAP_Auth</module>
543                             <hostname>name.domain.com</hostname>
544                             <basedn>ou=people,dc=domain,dc=com</basedn>
545                             <authid>cn=username,ou=specials,dc=domain,dc=com</authid>
546                             <id_attr>uid</id_attr>
547                             <password>my_ldap_password_for_authid_user</password>
548                             <login_types>
549                                 <type>staff</type>
550                                 <type>opac</type>
551                                 <type>persist</type>
552                             </login_types>
553                             <org_units>
554                                 <unit>103</unit>
555                                 <unit>104</unit>
556                             </org_units>
557                         </authenticator>
558                         -->
559                         <!-- 'native' is a proxied version of Evergreen's standard authentication -->
560                         <authenticator>
561                             <name>native</name>
562                             <!-- you can add 'login_types' and 'org_units' limits to this authenticator as well, if needed -->
563                         </authenticator>
564                     </authenticators>
565                 </app_settings>
566             </open-ils.auth_proxy>
567
568             <!-- Generic search server -->
569             <open-ils.search>
570                 <keepalive>5</keepalive>
571                 <stateless>1</stateless>
572                 <language>perl</language>
573                 <implementation>OpenILS::Application::Search</implementation>
574                 <max_requests>93</max_requests>
575                 <unix_config>
576                     <unix_sock>open-ils.search_unix.sock</unix_sock>
577                     <unix_pid>open-ils.search_unix.pid</unix_pid>
578                     <unix_log>open-ils.search_unix.log</unix_log>
579
580                     <max_requests>1000</max_requests>
581                     <min_children>1</min_children>
582                     <max_children>15</max_children>
583                     <min_spare_children>1</min_spare_children>
584                     <max_spare_children>5</max_spare_children>
585                 </unix_config>
586                 <app_settings>
587                     <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
588                     <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim>
589
590                     <spelling_dictionary>
591                         <!-- 
592                             Optionally configure different dictionaries depending on search context.  
593                             If no dictionaries are defined, the default Aspell dictionary is used.
594                         -->
595                         <!--
596                         <default>LOCALSTATEDIR/data/default_dict.txt</default>
597                         <title>LOCALSTATEDIR/data/title_dict.txt</title>
598                         <author>LOCALSTATEDIR/data/author_dict.txt</author>
599                         <subject>LOCALSTATEDIR/data/subject_dict.txt</subject>
600                         <series>LOCALSTATEDIR/data/series_dict.txt</series>
601                         -->
602                     </spelling_dictionary>
603
604                     <!-- Default to using staged search -->
605                     <use_staged_search>true</use_staged_search>
606
607                     <!--
608                         For staged search, we estimate hits based on inclusion or exclusion.
609
610                         Valid settings:
611                             inclusion - visible ratio on superpage
612                             exclusion - excluded ratio on superpage
613                             delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count
614                             delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count
615
616                         Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants
617                         will return the same value +/- 1.  The exclusion strategy is the original, and works well
618                         when there are few deleted or excluded records, in other words, when the superpage is not
619                         sparsely populated with visible records.
620                     -->
621                     <estimation_strategy>inclusion</estimation_strategy>
622
623                     <!--
624                         Evergreen uses a cover density algorithm for calculating relative ranking of matches.  There
625                         are several tuning parameters and options available.  By default, no document length normalization
626                         is applied.  From the Postgres documentation on ts_rank_cd() (the function used by Evergreen):
627
628                             Since a longer document has a greater chance of containing a query term it is reasonable 
629                             to take into account document size, e.g., a hundred-word document with five instances of 
630                             a search word is probably more relevant than a thousand-word document with five instances. 
631                             Both ranking functions take an integer normalization option that specifies whether and how 
632                             a document's length should impact its rank. The integer option controls several behaviors, 
633                             so it is a bit mask: you can specify one or more behaviors using | (for example, 2|4).
634
635                                 0 (the default) ignores the document length
636
637                                 1 divides the rank by 1 + the logarithm of the document length
638
639                                 2 divides the rank by the document length
640
641                                 4 divides the rank by the mean harmonic distance between extents (this is implemented only by ts_rank_cd)
642
643                                 8 divides the rank by the number of unique words in document
644
645                                 16 divides the rank by 1 + the logarithm of the number of unique words in document
646
647                                 32 divides the rank by itself + 1
648
649                             If more than one flag bit is specified, the transformations are applied in the order listed.
650
651                             It is important to note that the ranking functions do not use any global information, so it 
652                             is impossible to produce a fair normalization to 1% or 100% as sometimes desired. Normalization 
653                             option 32 (rank/(rank+1)) can be applied to scale all ranks into the range zero to one, but of 
654                             course this is just a cosmetic change; it will not affect the ordering of the search results.
655
656                         In Evergreen, these options are set via search modifiers.  The modifiers are mapped in the
657                         following way:
658
659                             * #CD_logDocumentLength  => 1  :: rank / (1 + LOG(total_word_count))   :: Longer documents slightly less relevant
660                             * #CD_documentLength     => 2  :: rank / total_word_count              :: Longer documents much less relevant
661                             * #CD_meanHarmonic       => 4  :: Word Proximity                       :: Greater matched-word distance is less relevant
662                             * #CD_uniqueWords        => 8  :: rank / unique_word_count             :: Documents with repeated words much less relevant
663                             * #CD_logUniqueWords     => 16 :: rank / (1 + LOG(unique_word_count))  :: Documents with repeated words slightly less relevant
664                             * #CD_selfPlusOne        => 32 :: rank / (1 + rank)                    :: Cosmetic normalization of rank value between 0 and 1
665
666                         Adding one or more of these to the default_CD_modifiers list will cause all searches that use QueryParser to apply them.
667                     -->
668                     <default_CD_modifiers>#CD_documentLength #CD_meanHarmonic #CD_uniqueWords</default_CD_modifiers>
669
670                     <!--
671                         default_preferred_language
672                             Set the global, default preferred languange
673                     -->
674                     <default_preferred_language>eng</default_preferred_language>
675
676                     <!--
677                         default_preferred_language_weight
678                             Set the weight (higher is "better") for the preferred language. Comment out to remove all lanuage weighting by default.
679                     -->
680                     <default_preferred_language_weight>5</default_preferred_language_weight>
681
682                     <!-- Baseline number of records to check for hit estimation. -->
683                     <superpage_size>1000</superpage_size>
684
685                     <!-- How many superpages to consider for searching overall. -->
686                     <max_superpages>100</max_superpages>
687
688                     <!-- zip code database file -->
689                     <!--<zips_file>LOCALSTATEDIR/data/zips.txt</zips_file>-->
690                 </app_settings>
691             </open-ils.search>
692
693             <!-- server for accessing user info -->
694             <open-ils.actor>
695                 <keepalive>5</keepalive>
696                 <stateless>1</stateless>
697                 <language>perl</language>
698                 <implementation>OpenILS::Application::Actor</implementation>
699                 <max_requests>93</max_requests>
700                 <unix_config>
701                     <unix_sock>open-ils.actor_unix.sock</unix_sock>
702                     <unix_pid>open-ils.actor_unix.pid</unix_pid>
703                     <max_requests>1000</max_requests>
704                     <unix_log>open-ils.actor_unix.log</unix_log>
705                     <min_children>1</min_children>
706                     <max_children>15</max_children>
707                     <min_spare_children>1</min_spare_children>
708                     <max_spare_children>5</max_spare_children>
709                 </unix_config>
710                 <!-- set this to 'true' to have barcode search also search patron records by unique ID -->
711                 <app_settings>
712                     <id_as_barcode>false</id_as_barcode>
713                 </app_settings>
714
715             </open-ils.actor>
716
717             <open-ils.booking>
718                 <keepalive>5</keepalive>
719                 <stateless>1</stateless>
720                 <language>perl</language>
721                 <implementation>OpenILS::Application::Booking</implementation>
722                 <max_requests>199</max_requests>
723                 <unix_config>
724                     <unix_sock>open-ils.booking_unix.sock</unix_sock>
725                     <unix_pid>open-ils.booking_unix.pid</unix_pid>
726                     <max_requests>1000</max_requests>
727                     <unix_log>open-ils.booking_unix.log</unix_log>
728                     <min_children>1</min_children>
729                     <max_children>15</max_children>
730                     <min_spare_children>1</min_spare_children>
731                     <max_spare_children>5</max_spare_children>
732                 </unix_config>
733                 <app_settings>
734                 </app_settings>
735             </open-ils.booking>
736
737             <open-ils.cat>
738                 <keepalive>5</keepalive>
739                 <stateless>1</stateless>
740                 <language>perl</language>
741                 <implementation>OpenILS::Application::Cat</implementation>
742                 <max_requests>199</max_requests>
743                 <unix_config>
744                     <unix_sock>open-ils.cat_unix.sock</unix_sock>
745                     <unix_pid>open-ils.cat_unix.pid</unix_pid>
746                     <max_requests>1000</max_requests>
747                     <unix_log>open-ils.cat_unix.log</unix_log>
748                     <min_children>1</min_children>
749                     <max_children>15</max_children>
750                     <min_spare_children>1</min_spare_children>
751                     <max_spare_children>5</max_spare_children>
752                 </unix_config>
753                 <app_settings>
754                     <marctemplates>
755                         <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
756                     </marctemplates>
757                 </app_settings>
758             </open-ils.cat>
759
760             <open-ils.supercat>
761                 <keepalive>5</keepalive>
762                 <stateless>1</stateless>
763                 <language>perl</language>
764                 <implementation>OpenILS::Application::SuperCat</implementation>
765                 <max_requests>199</max_requests>
766                 <unix_config>
767                     <unix_sock>open-ils.supercat_unix.sock</unix_sock>
768                     <unix_pid>open-ils.supercat_unix.pid</unix_pid>
769                     <max_requests>1000</max_requests>
770                     <unix_log>open-ils.supercat_unix.log</unix_log>
771                     <min_children>1</min_children>
772                     <max_children>15</max_children>
773                     <min_spare_children>1</min_spare_children>
774                     <max_spare_children>5</max_spare_children>
775                 </unix_config>
776             </open-ils.supercat>
777
778             <!-- server for accessing user info -->
779             <open-ils.trigger>
780                 <keepalive>5</keepalive>
781                 <stateless>1</stateless>
782                 <language>perl</language>
783                 <implementation>OpenILS::Application::Trigger</implementation>
784                 <max_requests>93</max_requests>
785                 <unix_config>
786                     <unix_sock>open-ils.trigger_unix.sock</unix_sock>
787                     <unix_pid>open-ils.trigger_unix.pid</unix_pid>
788                     <max_requests>1000</max_requests>
789                     <unix_log>open-ils.trigger_unix.log</unix_log>
790                     <min_children>1</min_children>
791                     <max_children>15</max_children>
792                     <min_spare_children>1</min_spare_children>
793                     <max_spare_children>5</max_spare_children>
794                 </unix_config>
795                 <app_settings>
796                     <!-- number of parallel open-ils.trigger processes to use for collection and reaction -->
797                     <!--
798                     <parallel>
799                         <collect>3</collect>
800                         <react>3</react>
801                     </parallel>
802                     -->
803                 </app_settings>
804             </open-ils.trigger>
805
806             <open-ils.url_verify>
807                 <keepalive>5</keepalive>
808                 <stateless>1</stateless>
809                 <language>perl</language>
810                 <implementation>OpenILS::Application::URLVerify</implementation>
811                 <max_requests>199</max_requests>
812                 <unix_config>
813                     <unix_sock>open-ils.url_verify_unix.sock</unix_sock>
814                     <unix_pid>open-ils.url_verify_unix.pid</unix_pid>
815                     <max_requests>1000</max_requests>
816                     <unix_log>open-ils.url_verify_unix.log</unix_log>
817                     <min_children>1</min_children>
818                     <max_children>15</max_children>
819                     <min_spare_children>1</min_spare_children>
820                     <max_spare_children>5</max_spare_children>
821                 </unix_config>
822                 <app_settings>
823                     <user_agent>Evergreen %s Link Checker</user_agent>
824                 </app_settings>
825             </open-ils.url_verify>
826
827             <opensrf.math>
828                 <keepalive>3</keepalive>
829                 <stateless>1</stateless>
830                 <language>c</language>
831                 <implementation>libosrf_math.so</implementation>
832                 <unix_config>
833                     <unix_sock>opensrf.math_unix.sock</unix_sock>
834                     <unix_pid>opensrf.math_unix.pid</unix_pid>
835                     <max_requests>1000</max_requests>
836                     <unix_log>opensrf.math_unix.log</unix_log>
837                     <min_children>1</min_children>
838                     <max_children>15</max_children>
839                     <min_spare_children>1</min_spare_children>
840                     <max_spare_children>5</max_spare_children>
841                 </unix_config>
842             </opensrf.math>
843
844             <opensrf.dbmath> 
845                 <keepalive>3</keepalive>
846                 <stateless>1</stateless>
847                 <language>c</language>
848                 <implementation>libosrf_dbmath.so</implementation>
849                 <unix_config>
850                     <max_requests>1000</max_requests>
851                     <unix_log>opensrf.dbmath_unix.log</unix_log>
852                     <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
853                     <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
854                     <min_children>1</min_children>
855                     <max_children>15</max_children>
856                     <min_spare_children>1</min_spare_children> 
857                     <max_spare_children>5</max_spare_children>
858                 </unix_config>
859             </opensrf.dbmath>
860
861             <open-ils.justintime>
862                 <keepalive>5</keepalive>
863                 <stateless>1</stateless>
864                 <language>perl</language>
865                 <implementation>OpenILS::Application::JustInTime</implementation>
866                 <max_requests>199</max_requests>
867                 <unix_config>
868                     <unix_sock>open-ils.justintime_unix.sock</unix_sock>
869                     <unix_pid>open-ils.justintime_unix.pid</unix_pid>
870                     <max_requests>1000</max_requests>
871                     <unix_log>open-ils.justintime_unix.log</unix_log>
872                     <min_children>1</min_children>
873                     <max_children>15</max_children>
874                     <min_spare_children>1</min_spare_children>
875                     <max_spare_children>5</max_spare_children>
876                 </unix_config>
877                 <app_settings>
878                 </app_settings>
879             </open-ils.justintime>
880
881             <open-ils.circ> 
882                 <keepalive>3</keepalive>
883                 <stateless>1</stateless>
884                 <language>perl</language>
885                 <implementation>OpenILS::Application::Circ</implementation>
886                 <max_requests>99</max_requests>
887                 <unix_config>
888                     <max_requests>1000</max_requests>
889                     <unix_log>open-ils.circ_unix.log</unix_log>
890                     <unix_sock>open-ils.circ_unix.sock</unix_sock>
891                     <unix_pid>open-ils.circ_unix.pid</unix_pid>
892                     <min_children>1</min_children>
893                     <max_children>15</max_children>
894                     <min_spare_children>1</min_spare_children> 
895                     <max_spare_children>5</max_spare_children>
896                 </unix_config>
897                 <app_settings>
898                     <notify_hold>
899                         <email>false</email> <!-- set to false to disable hold notice emails -->
900                     </notify_hold>
901                 </app_settings>
902             </open-ils.circ>
903
904             <open-ils.storage>
905                 <keepalive>10</keepalive>
906                 <stateless>1</stateless>
907                 <language>perl</language>
908                 <implementation>OpenILS::Application::Storage</implementation>
909                 <unix_config>
910                     <max_requests>1000</max_requests>
911                     <unix_log>open-ils.storage_unix.log</unix_log>
912                     <unix_sock>open-ils.storage_unix.sock</unix_sock>
913                     <unix_pid>open-ils.storage_unix.pid</unix_pid>
914                     <min_children>1</min_children>
915                     <max_children>10</max_children>
916                     <min_spare_children>1</min_spare_children>
917                     <max_spare_children>5</max_spare_children>
918                 </unix_config>
919                 <app_settings>
920                     <script_path>LIBDIR/javascript/</script_path>
921                     <script_path>LOCALSTATEDIR/catalog/</script_path>
922                     <scripts>
923                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
924                     </scripts>
925                     <databases>
926                         <driver>Pg</driver>
927                         <database>
928                             <type>master</type>
929                             <weight>2</weight>
930                             <user>postgres</user>
931                             <host>localhost</host>
932                             <port>5432</port>
933                             <pw>postgres</pw>
934                             <db>evergreen</db>
935                             <client_encoding>UTF-8</client_encoding>
936                             <application_name>open-ils.storage</application_name>
937                         </database>
938                     </databases>
939                 </app_settings>
940             </open-ils.storage>
941
942             <open-ils.cstore>
943                 <keepalive>6</keepalive>
944                 <stateless>1</stateless>
945                 <language>C</language>
946                 <implementation>liboils_cstore.so</implementation>
947                 <unix_config>
948                     <max_requests>1000</max_requests>
949                     <min_children>1</min_children>
950                     <max_children>15</max_children>
951                     <min_spare_children>1</min_spare_children>
952                     <max_spare_children>5</max_spare_children>
953                 </unix_config>
954                 <app_settings>
955                     <max_query_recursion>100</max_query_recursion>
956                     <driver>pgsql</driver>
957                     <database>
958                         <type>master</type>
959                         <weight>2</weight>
960                         <user>postgres</user>
961                         <host>localhost</host>
962                         <port>5432</port>
963                         <pw>postgres</pw>
964                         <db>evergreen</db>
965                         <client_encoding>UTF-8</client_encoding>
966                         <application_name>open-ils.cstore</application_name>
967                     </database>
968                 </app_settings>
969             </open-ils.cstore>
970
971             <open-ils.pcrud>
972                 <keepalive>6</keepalive>
973                 <migratable>1</migratable>
974                 <stateless>1</stateless>
975                 <language>C</language>
976                 <implementation>liboils_pcrud.so</implementation>
977
978                 <unix_config>
979                     <unix_log>open-ils.pcrud.log</unix_log>
980                     <unix_sock>open-ils.pcrud.sock</unix_sock>
981                     <unix_pid>open-ils.pcrud.pid</unix_pid>
982                     <max_requests>1000</max_requests>
983                     <min_children>1</min_children>
984                     <max_children>15</max_children>
985                     <min_spare_children>1</min_spare_children>
986                     <max_spare_children>5</max_spare_children>
987                 </unix_config>
988
989                 <app_settings>
990                     <IDL>SYSCONFDIR/fm_IDL.xml</IDL>
991                     <driver>pgsql</driver>
992                     <database>
993                         <type>master</type>
994                         <weight>2</weight>
995                         <user>postgres</user>
996                         <host>localhost</host>
997                         <port>5432</port>
998                         <pw>postgres</pw>
999                         <db>evergreen</db>
1000                         <client_encoding>UTF-8</client_encoding>
1001                         <application_name>open-ils.pcrud</application_name>
1002                     </database>
1003                 </app_settings>
1004             </open-ils.pcrud>
1005
1006             <open-ils.qstore>
1007                 <keepalive>6</keepalive>
1008                 <stateless>1</stateless>
1009                 <language>C</language>
1010                 <implementation>liboils_qstore.so</implementation>
1011                 <unix_config>
1012                     <max_requests>1000</max_requests>
1013                     <min_children>1</min_children>
1014                     <max_children>15</max_children>
1015                     <min_spare_children>1</min_spare_children>
1016                     <max_spare_children>5</max_spare_children>
1017                 </unix_config>
1018                 <app_settings>
1019                     <driver>pgsql</driver>
1020                     <database>
1021                         <type>master</type>
1022                         <weight>2</weight>
1023                         <user>postgres</user>
1024                         <host>localhost</host>
1025                         <port>5432</port>
1026                         <pw>postgres</pw>
1027                         <db>evergreen</db>
1028                         <client_encoding>UTF-8</client_encoding>
1029                         <application_name>open-ils.qstore</application_name>
1030                     </database>
1031                 </app_settings>
1032             </open-ils.qstore>
1033
1034             <opensrf.settings>
1035                 <keepalive>1</keepalive>
1036                 <stateless>1</stateless>
1037                 <language>perl</language>
1038                 <implementation>OpenSRF::Application::Settings</implementation>
1039                 <max_requests>17</max_requests>
1040                 <unix_config>
1041                     <unix_sock>opensrf.settings_unix.sock</unix_sock>
1042                     <unix_pid>opensrf.settings_unix.pid</unix_pid>
1043                     <max_requests>300</max_requests>
1044                     <unix_log>opensrf.settings_unix.log</unix_log>
1045                     <min_children>5</min_children>
1046                     <max_children>15</max_children>
1047                     <min_spare_children>3</min_spare_children>
1048                     <max_spare_children>5</max_spare_children>
1049                 </unix_config>
1050             </opensrf.settings>
1051
1052             <open-ils.collections>
1053                 <keepalive>3</keepalive>
1054                 <stateless>1</stateless>
1055                 <language>perl</language>
1056                 <implementation>OpenILS::Application::Collections</implementation>
1057                 <max_requests>17</max_requests>
1058                 <unix_config>
1059                     <unix_sock>open-ils.collections_unix.sock</unix_sock>
1060                     <unix_pid>open-ils.collections_unix.pid</unix_pid>
1061                     <max_requests>1000</max_requests>
1062                     <unix_log>open-ils.collections_unix.log</unix_log>
1063                     <min_children>1</min_children>
1064                     <max_children>10</max_children>
1065                     <min_spare_children>1</min_spare_children>
1066                     <max_spare_children>5</max_spare_children>
1067                 </unix_config>
1068                 <app_settings>
1069                     <!-- batch_file_dir must be a protected, web-accessible, shared directory -->
1070                     <batch_file_dir>/openils/var/web/collections</batch_file_dir>
1071                 </app_settings>
1072             </open-ils.collections>
1073
1074             <open-ils.reporter>
1075                 <keepalive>3</keepalive>
1076                 <stateless>1</stateless>
1077                 <language>perl</language>
1078                 <implementation>OpenILS::Application::Reporter</implementation>
1079                 <max_requests>99</max_requests>
1080                 <unix_config>
1081                     <unix_sock>open-ils.reporter_unix.sock</unix_sock>
1082                     <unix_pid>open-ils.reporter_unix.pid</unix_pid>
1083                     <max_requests>1000</max_requests>
1084                     <unix_log>open-ils.reporter_unix.log</unix_log>
1085                     <min_children>1</min_children>
1086                     <max_children>10</max_children>
1087                     <min_spare_children>1</min_spare_children>
1088                     <max_spare_children>5</max_spare_children>
1089                 </unix_config>
1090             </open-ils.reporter>
1091
1092             <open-ils.reporter-store>
1093                 <keepalive>6</keepalive>
1094                 <stateless>1</stateless>
1095                 <language>C</language>
1096                 <implementation>liboils_rstore.so</implementation>
1097                 <unix_config>
1098                     <max_requests>400</max_requests>
1099                     <min_children>1</min_children>
1100                     <max_children>10</max_children>
1101                     <min_spare_children>1</min_spare_children>
1102                     <max_spare_children>5</max_spare_children>
1103                 </unix_config>
1104                 <app_settings>
1105                     <driver>pgsql</driver>
1106                     <database>
1107                         <type>master</type>
1108                         <weight>2</weight>
1109                         <user>postgres</user>
1110                         <host>localhost</host>
1111                         <port>5432</port>
1112                         <pw>postgres</pw>
1113                         <db>evergreen</db>
1114                         <client_encoding>UTF-8</client_encoding>
1115                         <application_name>open-ils.reporter-store</application_name>
1116                     </database>
1117                 </app_settings>
1118             </open-ils.reporter-store>
1119
1120 <!-- resolver_type defaults to sfx but can also be cufts -->
1121 <!--
1122            <open-ils.resolver>
1123                <keepalive>3</keepalive>
1124                <stateless>1</stateless>
1125                <language>perl</language>
1126                <implementation>OpenILS::Application::ResolverResolver</implementation>
1127                <max_requests>93</max_requests>
1128                <unix_config>
1129                   <unix_sock>open-ils.resolver_unix.sock</unix_sock>
1130                   <unix_pid>open-ils.resolver_unix.pid</unix_pid>
1131                   <max_requests>1000</max_requests>
1132                   <unix_log>open-ils.resolver_unix.log</unix_log>
1133                   <min_children>5</min_children>
1134                   <max_children>15</max_children>
1135                   <min_spare_children>3</min_spare_children>
1136                   <max_spare_children>5</max_spare_children>
1137                </unix_config>
1138                <app_settings>
1139                   <cache_timeout>86400</cache_timeout>
1140                   <request_timeout>10</request_timeout>
1141                   <default_url_base>http://path/to/sfx_or_cufts</default_url_base>
1142                   <resolver_type>sfx</resolver_type>
1143                </app_settings>
1144             </open-ils.resolver>
1145 -->
1146
1147             <open-ils.permacrud>
1148                <keepalive>3</keepalive>
1149                <stateless>1</stateless>
1150                <language>perl</language>
1151                <implementation>OpenILS::Application::PermaCrud</implementation>
1152                <max_requests>17</max_requests>
1153                <unix_config>
1154                   <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
1155                   <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
1156                   <max_requests>1000</max_requests>
1157                   <unix_log>open-ils.permacrud_unix.log</unix_log>
1158                   <min_children>5</min_children>
1159                   <max_children>15</max_children>
1160                   <min_spare_children>3</min_spare_children>
1161                   <max_spare_children>5</max_spare_children>
1162                </unix_config>
1163             </open-ils.permacrud>
1164
1165             <open-ils.fielder>
1166                <keepalive>3</keepalive>
1167                <stateless>1</stateless>
1168                <language>perl</language>
1169                <implementation>OpenILS::Application::Fielder</implementation>
1170                <max_requests>17</max_requests>
1171                <unix_config>
1172                   <unix_sock>open-ils.fielder_unix.sock</unix_sock>
1173                   <unix_pid>open-ils.fielder_unix.pid</unix_pid>
1174                   <max_requests>1000</max_requests>
1175                   <unix_log>open-ils.fielder_unix.log</unix_log>
1176                   <min_children>5</min_children>
1177                   <max_children>15</max_children>
1178                   <min_spare_children>3</min_spare_children>
1179                   <max_spare_children>5</max_spare_children>
1180                </unix_config>
1181             </open-ils.fielder>
1182
1183             <open-ils.vandelay>
1184                 <keepalive>5</keepalive>
1185                 <stateless>1</stateless>
1186                 <language>perl</language>
1187                 <implementation>OpenILS::Application::Vandelay</implementation>
1188                 <max_requests>100</max_requests>
1189                 <unix_config>
1190                     <unix_sock>vandelay_unix.sock</unix_sock>
1191                     <unix_pid>vandelay_unix.pid</unix_pid>
1192                     <unix_log>vandelay_unix.log</unix_log>
1193                     <max_requests>100</max_requests>
1194                     <min_children>1</min_children>
1195                     <max_children>15</max_children>
1196                     <min_spare_children>1</min_spare_children>
1197                     <max_spare_children>5</max_spare_children>
1198                 </unix_config>
1199                 <app_settings>
1200                     <databases>
1201                         <!-- temporary location for MARC import files.  
1202                             Files will be deleted after records are spooled.
1203                             *note:  in a multi-brick environment, this will need to
1204                             be on a write-able NFS share.  -->
1205                         <importer>/tmp</importer>
1206                     </databases>
1207                 </app_settings>
1208             </open-ils.vandelay>
1209
1210             <open-ils.serial>
1211                 <keepalive>3</keepalive>
1212                 <stateless>1</stateless>
1213                 <language>perl</language>
1214                 <implementation>OpenILS::Application::Serial</implementation>
1215                 <max_requests>17</max_requests>
1216                 <unix_config>
1217                     <unix_sock>open-ils.serial_unix.sock</unix_sock>
1218                     <unix_pid>open-ils.serial_unix.pid</unix_pid>
1219                     <max_requests>1000</max_requests>
1220                     <unix_log>open-ils.serial_unix.log</unix_log>
1221                     <min_children>5</min_children>
1222                     <max_children>15</max_children>
1223                     <min_spare_children>3</min_spare_children>
1224                     <max_spare_children>5</max_spare_children>
1225                 </unix_config>
1226                 <app_settings>
1227                 </app_settings>
1228             </open-ils.serial>
1229
1230             <open-ils.hold-targeter>
1231                 <keepalive>3</keepalive>
1232                 <stateless>1</stateless>
1233                 <language>perl</language>
1234                 <implementation>OpenILS::Application::HoldTargeter</implementation>
1235                 <max_requests>17</max_requests>
1236                 <unix_config>
1237                     <unix_sock>open-ils.hold-targeter_unix.sock</unix_sock>
1238                     <unix_pid>open-ils.hold-targeter_unix.pid</unix_pid>
1239                     <max_requests>1000</max_requests>
1240                     <unix_log>open-ils.hold-targeter_unix.log</unix_log>
1241                     <min_children>1</min_children>
1242                     <max_children>15</max_children>
1243                     <min_spare_children>1</min_spare_children>
1244                     <max_spare_children>5</max_spare_children>
1245                 </unix_config>
1246                 <app_settings>
1247                 </app_settings>
1248             </open-ils.hold-targeter>
1249
1250             <open-ils.ebook_api>
1251                 <keepalive>5</keepalive>
1252                 <stateless>1</stateless>
1253                 <language>perl</language>
1254                 <implementation>OpenILS::Application::EbookAPI</implementation>
1255                 <max_requests>100</max_requests>
1256                 <unix_config>
1257                     <unix_sock>ebook_api_unix.sock</unix_sock>
1258                     <unix_pid>ebook_api_unix.pid</unix_pid>
1259                     <unix_log>ebook_api_unix.log</unix_log>
1260                     <max_requests>100</max_requests>
1261                     <min_children>1</min_children>
1262                     <max_children>15</max_children>
1263                     <min_spare_children>1</min_spare_children>
1264                     <max_spare_children>5</max_spare_children>
1265                 </unix_config>
1266                 <app_settings>
1267                   <cache_timeout>300</cache_timeout>
1268                   <request_timeout>60</request_timeout>
1269                 </app_settings>
1270             </open-ils.ebook_api>
1271         </apps>
1272     </default>
1273
1274     <hosts>
1275
1276         <localhost> 
1277             <!-- ^-=- 
1278             Should match the fully qualified domain name of the host.
1279
1280             On Linux, the output of the following command is authoritative:
1281             $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
1282
1283             To use 'localhost' instead, run osrf_control with the 'localhost' flag
1284             -->
1285
1286             <activeapps>
1287                 <!-- services hosted on this machine -->
1288                 <appname>opensrf.settings</appname> 
1289                 <appname>opensrf.math</appname> 
1290                 <appname>opensrf.dbmath</appname> 
1291                 <appname>open-ils.acq</appname> 
1292                 <appname>open-ils.booking</appname>
1293                 <appname>open-ils.cat</appname> 
1294                 <appname>open-ils.supercat</appname> 
1295                 <appname>open-ils.search</appname> 
1296                 <appname>open-ils.circ</appname> 
1297                 <appname>open-ils.actor</appname> 
1298                 <appname>open-ils.auth</appname> 
1299                 <appname>open-ils.auth_internal</appname>
1300                 <appname>open-ils.auth_proxy</appname> 
1301                 <appname>open-ils.storage</appname>  
1302                 <appname>open-ils.justintime</appname>  
1303                 <appname>open-ils.cstore</appname>  
1304                 <appname>open-ils.collections</appname>  
1305                 <appname>open-ils.qstore</appname>
1306                 <appname>open-ils.reporter</appname>  
1307                 <appname>open-ils.reporter-store</appname>  
1308                 <!-- <appname>open-ils.resolver</appname> -->
1309                 <appname>open-ils.permacrud</appname>  
1310                 <appname>open-ils.pcrud</appname>  
1311                 <appname>open-ils.trigger</appname>  
1312                 <appname>open-ils.url_verify</appname>
1313                 <appname>open-ils.fielder</appname>  
1314                 <appname>open-ils.vandelay</appname>  
1315                 <appname>open-ils.serial</appname>  
1316                 <appname>open-ils.hold-targeter</appname>  
1317                 <appname>open-ils.ebook_api</appname>
1318             </activeapps>
1319         </localhost>
1320     </hosts>
1321
1322 </opensrf>