eZ Community » Forums » Discussions » eZ Tika 1.5 released
expandshrink

Thursday 15 September 2011 10:45:09 am - 1 reply

» Read full blog post

Introduction

This version of eZ Tika incorporates contributions from Felix Woldt and an updated tika.jar.

The main new feature is that the extension will work simply by activating it. No need to copy and modify files around your server if you don't need to (typically a server hosting just one installation of eZ Publish).

Besides the zero-config option, it is now possible to activate a dedicated eztika debugging setting that will log the text extraction success or failure status and also optionally keeps the temporary file containing the extracted text itself.

Downloads and more: http://projects.ez.no/eztika

Wednesday 20 February 2013 10:30:41 am

Hi Paul,

I just discovered a bug in the extension eZTika when launching a multi-threaded indexing, creates temporary files of type "eztika_xxxxxxx.txt" are no longer unique because only the "mktime" is used. Here is a very simple patch.

 --- extension/eztika/classes/datatypes/ezbinaryfile/plugins/ezmultiparser.php
+++ extension/eztika/classes/datatypes/ezbinaryfile/plugins/ezmultiparser.php
@@ -67,7 +67,7 @@         
$binaryINI = eZINI::instance( 'binaryfile.ini' );         
$textExtractionTool = $binaryINI->variable( 'MultiHandlerSettings', 'TextExtractionTool' ); 
-        $startTime = mktime();
+       $startTime = mktime() + $fileName;
          
         $tmpName = eZSys::cacheDirectory() . eZSys::fileSeparator(). 'eztika_'. md5( $startTime ) . '.txt';         
         $handle = fopen( $tmpName, "w" );

Modified on Wednesday 20 February 2013 10:34:08 am by Ghandri Hamza

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from