- Posts: 12
- Thank you received: 1
if ($ext == 'pdf' || $ext == 'doc') {
require_once dirname(__FILE__).'/adapter.php' ;
$content = IndexerAdapter::getText($config->documents_path.'/'.$row->filename);
$row->indexed_content = $content ;
$row->store();
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
$debugfile = fopen("c:\\inetpub\\wwwroot\\logs\\debug_trace.txt", 'w');
foreach ($_FILES['jform'] as $jformmembers) {
foreach ($jformembers as $jformmember)
fwrite($debugfile, $jformmember . "\r\n");
}
fclose($debugfile);
if ($_FILES['jform']['tmp_name']['filename']) {
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Administrator wrote: Hi Kristoffer
You want the documents will be indexed automatically when you are running bulk import feature ? I am afraid of it will not be possible because when you import 1000 documents and run the index, the system will get time out issue (most of server only allows 30 seconds for a script to run and it is not enough to index these 1000 documents).
I am developing an auto-import plugins which will import documents from a folder automatically (each time it will only import few documents) and that will solve the issue. Please give me few more days to get this plugin finished .
Tuan
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.