]> mj.ucw.cz Git - libucw.git/blob - build/sherlock.cfg
More pieces of new configure.
[libucw.git] / build / sherlock.cfg
1 # Configuration variables of Sherlock and their default values
2 # (c) 2005 Martin Mares <mj@ucw.cz>
3
4 # Version of the whole package
5 Set("SHERLOCK_VERSION" => "3.5");
6
7 # Installation directory for `make install'
8 Set("INSTALL_DIR" => "~/run-3.5");
9
10 ### Standard modules available in all releases of Sherlock ###
11
12 # Gatherer (the gatherer library and some utilities) [FIXME: decide automatically?]
13 Set("CONFIG_GATHERER");
14
15 # The gatherer daemon (requires CONFIG_GATHERER)
16 UnSet("CONFIG_GATHERD");
17
18 # Indexer
19 Set("CONFIG_INDEXER");
20
21 # Search server
22 Set("CONFIG_SEARCH");
23
24 # Watson: The Monitoring System
25 UnSet("CONFIG_WATSON");
26
27 #ifndef CONFIG_FREE
28 ### These are available in the commercial version only: ###
29
30 # The Shepherd daemon (requires CONFIG_GATHERER and CONFIG_SHEPHERD_PROTOCOL)
31 UnSet("CONFIG_SHEPHERD");
32
33 # Support for Shepherd protocols everywhere (distributed indexing etc.)
34 UnSet("CONFIG_SHEPHERD_PROTOCOL");
35
36 # The reaper daemon, used by Shepherd to download the pages (requires CONFIG_GATHERER)
37 UnSet("CONFIG_REAPD");
38
39 # The multiplexer
40 UnSet("CONFIG_MUX");
41
42 #endif
43
44 ### Optional Modules & Features ###
45
46 # Number of sections we remember limits for
47 Set("SHERLOCK_NUM_SECTIONS" => 4);
48
49 # Use shared libraries
50 UnSet("CONFIG_SHARED");
51
52 # Gathering of PDF files
53 Set("CONFIG_PDF");
54
55 # Searching by last modification time
56 Set("CONFIG_LASTMOD");
57
58 # Searching by file type
59 Set("CONFIG_FILETYPE");
60
61 # Language processing (requires CONFIG_FILETYPE)
62 Set("CONFIG_LANG");
63
64 # Spelling checker
65 Set("CONFIG_SPELL");
66
67 # Enable indexing of context-dependent words and set maximum number
68 # of context slots (undef, 256 or 32768). Lower values save memory, higher time.
69 Set("CONFIG_MAX_CONTEXTS" => 256);
70
71 # Enable more than 16-bit word positions in references
72 Set("CONFIG_32BIT_REFERENCES");
73
74 # Debugging tools
75 UnSet("CONFIG_DEBUG");
76
77 # Search server: Enable EXPLAIN command (slows searching down slightly)
78 Set("CONFIG_EXPLAIN");
79
80 # If your system doesn't contain GNU libc 2.3 or newer, it's recommended to let Sherlock
81 # use its own regex library (a copy of the glibc one), because the default regex library
82 # is likely to be crappy.
83 Set("CONFIG_OWN_REGEX");
84
85 # Include custom builtin functions in filtering language
86 UnSet("CONFIG_CUSTOM_FILTER");
87
88 # Install libraries and their API includes
89 UnSet("CONFIG_INSTALL_API");
90
91 #ifndef CONFIG_FREE
92 # Number of refresh frequencies we allow
93 Set("SHERLOCK_NUM_FREQS" => 5);
94
95 # Gathering and indexing split to areas
96 UnSet("CONFIG_AREAS");
97
98 # Site compression
99 UnSet("CONFIG_SITES");
100
101 # Gathering of images
102 UnSet("CONFIG_IMAGES");
103
104 # Gathering of MS Word files
105 UnSet("CONFIG_MSWORD");
106
107 # Gathering of MS Excel files
108 UnSet("CONFIG_EXCEL");
109
110 # Extra stuff for Centrum
111 UnSet("CONFIG_CENTRUM");
112
113 # Configuration for Morfeo
114 UnSet("CONFIG_MORFEO");
115
116 # Stemmer by UFAL and its dictionaries
117 UnSet("CONFIG_UFAL_STEMMER");
118 UnSet("CONFIG_UFAL_DICT_CS");
119 UnSet("CONFIG_UFAL_DICT_SK");
120
121 # Stemmer for Polish with its dictionary
122 UnSet("CONFIG_PL_STEMMER");
123
124 # Dynamic weights
125 UnSet("CONFIG_WEIGHTS");
126
127 #endif
128
129 ### These are internal settings which shouldn't be modified by custom configs ###
130
131 # Default configuration file
132 Set("DEFAULT_CONFIG" => "cf/sherlock");
133
134 # Configuration of parts of the UCW library
135 Set("CONFIG_UCW_PERL" => 1);
136 Set("CONFIG_SHELL_UTILS" => 1);
137
138 # Configuration of the language library
139 Set("CONFIG_LANG_DETECT" => 1);
140
141 # We always want to be able to use large files
142 Set("CONFIG_LFS" => 1);
143
144 # Maximum word length common for Sherlock and liblang, see comments in sherlock/index.h
145 Set("MAX_WORD_LEN" => 64);
146
147 # Return success
148 1;