]> mj.ucw.cz Git - libucw.git/blobdiff - build/sherlock.cfg
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.8
[libucw.git] / build / sherlock.cfg
index abdeb4aea8b96cee63a3a4630577de05d4190d54..bb92a153cddee7482e8a01472fe66bd3db2b5de4 100644 (file)
@@ -1,11 +1,17 @@
 # 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");
+
+# 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,7 +84,7 @@ 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");
@@ -109,9 +121,12 @@ UnSet("CONFIG_EXCEL");
 
 # Extra stuff for Centrum
 UnSet("CONFIG_CENTRUM");
+UnSet("CONFIG_CENTRUM_CZ");
+UnSet("CONFIG_CENTRUM_SK");
+UnSet("CONFIG_CENTRUM_PL");
 
-# 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 +139,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 +156,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);