Zend Framework

Zend_Search_Lucene_Document_Pdf

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Zend_Search_Lucene
  • Labels:
    None

Description

This is feature request for such a component.

Activity

Hide
Nils Caspar added a comment -

What's the status?

Show
Nils Caspar added a comment - What's the status?
Hide
Pedro Pinto added a comment -

There seams to be a way to implement this: http://github.com/philipnorton42/PDFSearch

not tested ...

Show
Pedro Pinto added a comment - There seams to be a way to implement this: http://github.com/philipnorton42/PDFSearch not tested ...
Hide
Pedro Pinto added a comment -

Possible solution in attached file

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

Show
Pedro Pinto added a comment - Possible solution in attached file example usage: Zend_Loader::loadClass('Zend_Search_Lucene_Document_Pdf'); $content = Zend_Search_Lucene_Document_Pdf::loadPdfFile('example.pdf');
Hide
ollie harridge added a comment -

The solution posted here only works with English characters.

Show
ollie harridge added a comment - The solution posted here only works with English characters.
Hide
Przemek added a comment -

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.

Show
Przemek added a comment - 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.

People

Vote (3)
Watch (3)

Dates

  • Created:
    Updated: