Commit d6460d12aabcb34e2822080245d7a421a96d7fc1
1 parent
0baa79b7
KTS-673
"The search algorithm needs some work" Updated. Added lucene server and migration defaults Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7365 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
10 additions
and
0 deletions
config/dmsDefaults.php
| ... | ... | @@ -31,6 +31,14 @@ |
| 31 | 31 | * |
| 32 | 32 | */ |
| 33 | 33 | |
| 34 | +if (defined('DMS_DEFAULTS_INCLUDED')) | |
| 35 | +{ | |
| 36 | + return; | |
| 37 | +} | |
| 38 | + | |
| 39 | +define('DMS_DEFAULTS_INCLUDED',1); | |
| 40 | + | |
| 41 | + | |
| 34 | 42 | if (function_exists('apd_set_pprof_trace')) { |
| 35 | 43 | apd_set_pprof_trace(); |
| 36 | 44 | } |
| ... | ... | @@ -457,10 +465,12 @@ class KTInit { |
| 457 | 465 | |
| 458 | 466 | $oKTConfig->setdefaultns('indexer', 'coreClass', 'PHPLuceneIndexer'); |
| 459 | 467 | $oKTConfig->setdefaultns('indexer', 'batchDocuments', 20); |
| 468 | + $oKTConfig->setdefaultns('indexer', 'batchMigrateDocuments', 500); | |
| 460 | 469 | $oKTConfig->setdefaultns('indexer', 'indexingBasePath', '${searchBasePath}/indexing'); |
| 461 | 470 | $oKTConfig->setdefaultns('indexer', 'luceneDirectory', '${varDirectory}/indexes'); |
| 462 | 471 | $oKTConfig->setdefaultns('indexer', 'extractorPath', '${indexingBasePath}/extractors'); |
| 463 | 472 | $oKTConfig->setdefaultns('indexer', 'extractorHookPath', '${indexingBasePath}/extractorHooks'); |
| 473 | + $oKTConfig->setdefaultns('indexer', 'javaLuceneURL', 'http://localhost:8875'); | |
| 464 | 474 | |
| 465 | 475 | $oKTConfig->setdefaultns('openoffice', 'host', 'localhost'); |
| 466 | 476 | $oKTConfig->setdefaultns('openoffice', 'port', 8100); | ... | ... |