X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=build%2Fsherlock.cfg;h=d1027a7e6a3db9ffe56913cc27620f873f297f30;hb=d49347a0fe4cdf22bb584bfef943a1290109f413;hp=75c68c05fb625d00a636676f80aefb666dba5374;hpb=9040cbd2c2f1ffe6befe9f86e36795bf6358b847;p=libucw.git diff --git a/build/sherlock.cfg b/build/sherlock.cfg index 75c68c05..d1027a7e 100644 --- a/build/sherlock.cfg +++ b/build/sherlock.cfg @@ -1,11 +1,11 @@ # 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.6"); +Set("SHERLOCK_VERSION" => "3.9"); # Installation directory for `make install' -Set("INSTALL_DIR" => "~/run-3.6"); +Set("INSTALL_DIR" => "~/run-3.9"); # Compile everything with debug information and ASSERT's UnSet("CONFIG_DEBUG"); @@ -52,6 +52,9 @@ UnSet("CONFIG_MUX"); # 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); @@ -86,6 +89,11 @@ 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. @@ -121,6 +129,7 @@ UnSet("CONFIG_CENTRUM"); UnSet("CONFIG_CENTRUM_CZ"); UnSet("CONFIG_CENTRUM_SK"); UnSet("CONFIG_CENTRUM_PL"); +UnSet("CONFIG_CENTRUM_CATALOG"); # Debugging version of Centrum installation (lower limits, trivial filters etc.) UnSet("CONFIG_CENTRUM_DEBUG"); @@ -136,9 +145,12 @@ UnSet("CONFIG_PL_STEMMER"); # Dynamic weights UnSet("CONFIG_WEIGHTS"); -# Maximum number of multiplexer groups, search servers and route keys -Set("MUX_MAX_GROUPS" => 32); +# 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