]> mj.ucw.cz Git - libucw.git/blobdiff - build/sherlock.cfg
Added stk_strjoin() as well.
[libucw.git] / build / sherlock.cfg
index c8fe6eeec8922939fad8b6bea52e393f6895565d..d1027a7e6a3db9ffe56913cc27620f873f297f30 100644 (file)
@@ -1,11 +1,11 @@
 # Configuration variables of Sherlock and their default values
-# (c) 2005 Martin Mares <mj@ucw.cz>
+# (c) 2005--2006 Martin Mares <mj@ucw.cz>
 
 # 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");
@@ -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,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 ###