/[wait]/branches/unido/eg/oreilly_de_catalog/config.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /branches/unido/eg/oreilly_de_catalog/config.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 106 - (hide annotations)
Tue Jul 13 12:22:09 2004 UTC (19 years, 10 months ago) by dpavlin
File size: 2614 byte(s)
Changes made by Andreas J. Koenig <andreas.koenig(at)anima.de> for Unido project

1 dpavlin 106 package oreilly_de_catalog::config;
2     use strict;
3    
4     use constant CATALOG => "/home/k/dproj/oreilly/www.oreilly.de/catalog/";
5     use constant CATALOGROOTLOC => -e "/usr/local/apache-OReilly/data" ? "http://www.oreilly.de/catalog" : "/oreilly/catalog";
6     use constant WAITDIR => -e "/usr/local/apache-OReilly/data" ? "/usr/local/apache-OReilly/data" : "/usr/local/apache/data";
7     use constant WAITDBNAME => "oreilly_de_catalog";
8     use constant WAITTBCATALOG => "ora";
9     use constant WAITTBFALLBACK => "ora_fallback";
10     use constant WAITMAXHITS => 20;
11     use constant WAITALTWORDS => "3x14";
12    
13     # added after 2002-03-04:
14     use constant RUNDATADIR => "/usr/local/apache/rundata/oreilly_de_catalog";
15     use constant STATSSAMPLE => 1; # between 0 and 1, Anteil der statist. erfassten Leute
16     use constant STATSLOGFILE => sprintf("%s/statistics/relevance.log", RUNDATADIR);
17     use constant TESTMTIMESTYLESHEET => 1; # boolean
18     use constant DEFAULTSTYLESHEET => "xsl-trad";
19     use constant WITH_CHAPTER => 1; # 0=ignore chapters 1=index them
20    
21     # The following are hackerswitches. Please don't touch.
22    
23    
24     use constant BRUTE_FORCE_UPGRADE => 0;
25     # short test was with 1, but 1 makes no sense. Humbug.
26    
27     use constant ALLOW_LATIN_INTERMEDIATE => 0;
28     # old behaviour March 2002 = 1, the only way to prevent core dumps for
29     # the price of a few characters being lost. NOTE: automatically
30     # disables PROTECT_UTF8_FOR_HTML_PARSER and PROTECT_UTF8_WITH_AMP
31    
32     use constant PROTECT_UTF8_FOR_HTML_PARSER => 0;
33     # we would do that for agnostic functions, but we can't do it for this
34     # one, so leave that at 0. NOTE: automatically disables
35     # PROTECT_UTF8_WITH_AMP
36    
37     use constant PROTECT_UTF8_WITH_AMP => 1;
38     # feed only 7bit data to HTML::Parser. Good for the result, not good
39     # enough to prevent the core dump
40    
41     use constant DISPOSE_PARSER_EACH_TIME => 0;
42     # no visible change
43    
44     use constant UPGRADE_DIV => 0;
45     # in older times this was 0 as we did not even consider it. And we can
46     # leave it a 0, I see no change in core dumping behaviour
47    
48     use constant DONT_INDEX_JUST_PARSE => 0;
49     # if 1, no index is generated. The test if the parser copes without
50     # coredumping is faster with 1, otherwise 0 is mandated
51    
52     use constant ULTRA_VERBOSE => 0;
53     # let some filters tell their results. Must be disabled during
54     # indexing. May be useful for debugging the filter chain on the search
55     # engine
56    
57     use constant CHARACTER_STATS => 1;
58     # display per-document character stats about all characters > 0x7f
59     # before HTML::Parser does anything. Not useful on production site.
60    
61     use constant ENTITY_STATS => 1;
62     # display entity statistics about all entities used per document
63     # before HTML::Parser starts
64    
65     1;

  ViewVC Help
Powered by ViewVC 1.1.26