From d6460d12aabcb34e2822080245d7a421a96d7fc1 Mon Sep 17 00:00:00 2001 From: Conrad Vermeulen Date: Mon, 15 Oct 2007 08:30:55 +0000 Subject: [PATCH] KTS-673 "The search algorithm needs some work" Updated. Added lucene server and migration defaults --- config/dmsDefaults.php | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) diff --git a/config/dmsDefaults.php b/config/dmsDefaults.php index 54e8c1b..4a0f737 100644 --- a/config/dmsDefaults.php +++ b/config/dmsDefaults.php @@ -31,6 +31,14 @@ * */ +if (defined('DMS_DEFAULTS_INCLUDED')) +{ + return; +} + +define('DMS_DEFAULTS_INCLUDED',1); + + if (function_exists('apd_set_pprof_trace')) { apd_set_pprof_trace(); } @@ -457,10 +465,12 @@ class KTInit { $oKTConfig->setdefaultns('indexer', 'coreClass', 'PHPLuceneIndexer'); $oKTConfig->setdefaultns('indexer', 'batchDocuments', 20); + $oKTConfig->setdefaultns('indexer', 'batchMigrateDocuments', 500); $oKTConfig->setdefaultns('indexer', 'indexingBasePath', '${searchBasePath}/indexing'); $oKTConfig->setdefaultns('indexer', 'luceneDirectory', '${varDirectory}/indexes'); $oKTConfig->setdefaultns('indexer', 'extractorPath', '${indexingBasePath}/extractors'); $oKTConfig->setdefaultns('indexer', 'extractorHookPath', '${indexingBasePath}/extractorHooks'); + $oKTConfig->setdefaultns('indexer', 'javaLuceneURL', 'http://localhost:8875'); $oKTConfig->setdefaultns('openoffice', 'host', 'localhost'); $oKTConfig->setdefaultns('openoffice', 'port', 8100); -- libgit2 0.21.4