/** * Constructor gets the connection to the java server * * @return pdfConverter */ public function pdfConverter() { $config =& KTConfig::getSingleton(); $javaServerUrl = $config->get('indexer/javaLuceneURL'); $this->ooHost = $config->get('openoffice/host', '127.0.0.1'); $this->ooPort = $config->get('openoffice/port', '8100'); $this->xmlrpc = XmlRpcLucene::get($javaServerUrl); }
function setup() { $config =& KTConfig::getSingleton(); $javaServerUrl = $config->get('indexer/javaLuceneURL'); $this->xmlrpc = XmlRpcLucene::get($javaServerUrl); $this->path = KT_DIR . '/tests/documentProcessor/dataset/'; $this->tempPath = KT_DIR . '/var/tmp/'; }
public function __construct() { $config =& KTConfig::getSingleton(); $javaServerUrl = $config->get('indexer/javaLuceneURL'); $this->xmlrpc = XmlRpcLucene::get($javaServerUrl); }
public function isDocumentIndexed($document_id) { return $this->lucene->documentExists($document_id); }