Welcome! Log In Create A New Profile

Advanced

unable to index pdf files

Posted by measterbro2 
unable to index pdf files
August 14, 2013 01:14PM
When I try to index PDF files I get the message "Page contains less than 10 words" but it has much more than 10. It gets the "Size of page: 164.78kb" correct, but won't index it.
ced
Re: unable to index pdf files
January 01, 2014 08:59PM
I suspect PDF files are indexed if and only if they embed ascii content. Of course, a PDF to TXT converter must be installed onto the server and declared in your Sphider settings.



Edited 2 time(s). Last edit at 01/01/2014 10:47PM by ced.
Re: unable to index pdf files
January 14, 2014 11:58AM
So I have the pdftotext for a linux 64bit installed, and the path in the Sphider settings is /var/www/sphider/converter/pdftotext
(i'm following [url=http://www.sphider.eu/forum/read.php?2,4413]http://www.sphider.eu/forum/read.php?2,4413[/url])

But I still get this

Retrieving: http://example.com/download_file/A_Fair_Share.pdf at 15:51:08.
Not text or html
ced
Re: unable to index pdf files
January 21, 2014 09:00AM
moiz Wrote:
-------------------------------------------------------
> But I still get this
>
> Retrieving:
> http://example.com/download_file/A_Fair_Share.pdf
> at 15:51:08.
> Not text or html

I suspect the PDF file you are trying to index contains no text, only images. Try to index a PDF file generated from a text document with a word processing software (libreoffice for example) using the export-to-pdf function.
Jan
Re: unable to index pdf files
September 20, 2014 08:53PM
I have recently met the same problem as measterbro2, but earlier the system worked perfectly.
After a migration to another URL, everything works fine except that, when indexing, for PDF files I get the message 'Page contains less than 10 words', which is clearly not the case. In some way pdftotext does not function anymore.
Someone any idea what to do?
Re: unable to index pdf files
June 18, 2015 03:53PM
Check out this answer: http://www.sphider.eu/forum/read.php?2,8248
Sorry, only registered users may post in this forum.

Click here to login