Logo white

Peter M. Groen / knowledgetree

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • knowledgetree
  • search2
  • indexing
  • bin
  • optimise.php
  • KTS-673 ...
    a10004f9
    "The search algorithm needs some work"
    Updated. Internationalisation
    
    Committed By: Conrad Vermeulen
    Reviewed By: Kevin Fourie
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7289 c91229c3-7414-0410-bfa2-8a42b809f60b
    Conrad Vermeulen authored
    2007-10-03 20:13:14 +0000  
    Browse Code ยป
optimise.php 309 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php

/**
 * PURPOSE:
 *
 * This script optimises the lucene index.
 */

require_once(realpath('../../../config/dmsDefaults.php'));
require_once('indexing/indexerCore.inc.php');

print _kt("Optimising Lucene index") . "...\n";

$indexer = Indexer::get();
$indexer->optimise();

print _kt("Done.") . "\n";

?>