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