ZF-7169: Zend_Search_Lucene_Document_Pdf

Issue Type: New Feature Created: 2009-07-01T05:10:56.000+0000 Last Updated: 2011-02-04T06:05:30.000+0000 Status: Open Fix version(s): Reporter: Ing. Jitka Darbujanova (jitka_sunny) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Search_Lucene

Related issues: Attachments: - Pdf.php


This is feature request for such a component.


Posted by Nils Caspar (pencil) on 2009-12-10T03:26:24.000+0000

What's the status?

Posted by Pedro Pinto (_pn_boy) on 2009-12-15T23:43:15.000+0000

There seams to be a way to implement this:

not tested ...

Posted by Pedro Pinto (_pn_boy) on 2009-12-18T01:37:57.000+0000

Possible solution in attached file

example usage: Zend_Loader::loadClass('Zend_Search_Lucene_Document_Pdf'); $content = Zend_Search_Lucene_Document_Pdf::loadPdfFile('example.pdf');

Posted by ollie harridge (ollietb) on 2010-03-23T08:42:46.000+0000

The solution posted here only works with English characters.

Posted by Przemek (cojack) on 2011-02-04T06:05:28.000+0000

In 178 line you are using:

if (substr($chunk["filter"], "FlateDecode") !== false) {

it should be:

f (strpos($chunk["filter"], "FlateDecode") !== false) {

substr as second param gets int not a string. This generate a lot of php warnings.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.