X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=build%2Fsherlock.cfg;h=d1027a7e6a3db9ffe56913cc27620f873f297f30;hb=d49347a0fe4cdf22bb584bfef943a1290109f413;hp=abdeb4aea8b96cee63a3a4630577de05d4190d54;hpb=7d38b11b4908c9052151be2c4e54b8510c212b9f;p=libucw.git diff --git a/build/sherlock.cfg b/build/sherlock.cfg index abdeb4ae..d1027a7e 100644 --- a/build/sherlock.cfg +++ b/build/sherlock.cfg @@ -1,11 +1,17 @@ # Configuration variables of Sherlock and their default values -# (c) 2005 Martin Mares +# (c) 2005--2006 Martin Mares # Version of the whole package -Set("SHERLOCK_VERSION" => "3.5"); +Set("SHERLOCK_VERSION" => "3.9"); # Installation directory for `make install' -Set("INSTALL_DIR" => "~/run-3.5"); +Set("INSTALL_DIR" => "~/run-3.9"); + +# Compile everything with debug information and ASSERT's +UnSet("CONFIG_DEBUG"); + +# Enable aggressive optimizations depending on exact CPU type (don't use for portable packages) +UnSet("CONFIG_EXACT_CPU"); ### Standard modules available in all releases of Sherlock ### @@ -13,7 +19,7 @@ Set("INSTALL_DIR" => "~/run-3.5"); Set("CONFIG_GATHERER"); # The gatherer daemon (requires CONFIG_GATHERER) -UnSet("CONFIG_GATHERD"); +Set("CONFIG_GATHERD"); # Indexer Set("CONFIG_INDEXER"); @@ -43,6 +49,12 @@ UnSet("CONFIG_MUX"); ### Optional Modules & Features ### +# Support databases >4GB +Set("CONFIG_LARGE_DB"); + +# Bucket position alignment shift (maximum bucket file size is 4G << this shift) +Set("CONFIG_BUCKET_SHIFT" => 7); + # Number of sections we remember limits for Set("SHERLOCK_NUM_SECTIONS" => 4); @@ -72,11 +84,16 @@ Set("CONFIG_MAX_CONTEXTS" => 256); Set("CONFIG_32BIT_REFERENCES"); # Debugging tools -UnSet("CONFIG_DEBUG"); +UnSet("CONFIG_DEBUG_TOOLS"); # Search server: Enable EXPLAIN command (slows searching down slightly) Set("CONFIG_EXPLAIN"); +# Search server: Full support for all types of boolean expressions and ANY. +# (Otherwise, only expressions with at least one term matched positively are allowed.) +# It may be slow in some cases - for example `ANY' or `NOT "A"' queries. +UnSet("CONFIG_ALLOW_ANY"); + # If your system doesn't contain GNU libc 2.3 or newer, it's recommended to let Sherlock # use its own regex library (a copy of the glibc one), because the default regex library # is likely to be crappy. @@ -109,9 +126,13 @@ UnSet("CONFIG_EXCEL"); # Extra stuff for Centrum UnSet("CONFIG_CENTRUM"); +UnSet("CONFIG_CENTRUM_CZ"); +UnSet("CONFIG_CENTRUM_SK"); +UnSet("CONFIG_CENTRUM_PL"); +UnSet("CONFIG_CENTRUM_CATALOG"); -# Configuration for Morfeo -UnSet("CONFIG_MORFEO"); +# Debugging version of Centrum installation (lower limits, trivial filters etc.) +UnSet("CONFIG_CENTRUM_DEBUG"); # Stemmer by UFAL and its dictionaries UnSet("CONFIG_UFAL_STEMMER"); @@ -124,6 +145,14 @@ UnSet("CONFIG_PL_STEMMER"); # Dynamic weights UnSet("CONFIG_WEIGHTS"); +# Include the incremental indexer +UnSet("CONFIG_INCREMENTAL"); + +# Maximum number of search servers, databases per search server and route keys +Set("MUX_MAX_SERVERS" => 128); +Set("MUX_MAX_DATABASES_PER_SERVER" => 4); +Set("MUX_MAX_ROUTE_KEYS" => 4); + #endif ### These are internal settings which shouldn't be modified by custom configs ### @@ -133,7 +162,7 @@ Set("DEFAULT_CONFIG" => "cf/sherlock"); # Configuration of parts of the UCW library Set("CONFIG_UCW_PERL" => 1); -Set("CONFIG_SHELL_UTILS" => 1); +Set("CONFIG_UCW_SHELL_UTILS" => 1); # Configuration of the language library Set("CONFIG_LANG_DETECT" => 1);