Disable pdftotext
Hi,
Can I disable pdftotext? It consuming alot of CPU and I dont have a need to search inside PDF's. Most of the PDF files are merly scanned documents.
Thanks and let me know if this is a bad idea.
Comments (7)
-
-
reporter thanks for the awesomely quick reply....any suggestion on how to disable? Cant seem to find a reference on how to do that
-
repo owner Currently you can't disable it. If the configure script can find it, then it's enabled. So remove or rename the pdftotext utility (poppler package), then recompile piler.
-
repo owner If you can skip indexing attachments at all, then set the following in piler.conf:
extract_attachments=0
-
repo owner - changed status to resolved
-
reporter Hi,
Have added 'extract_attachments=0' to '/usr/local/etc/piler.conf', but I am still seeing pdftotext running after a reboot, am I missing something here?
Output of piler -v below, maybe my vewrsion is too old?
piler 0.1.24-master-branch, build 836, Janos SUTO sj@acts.hu Build Date: Sun Sep 1 21:35:24 CEST 2013 ldd version: ldd (Debian EGLIBC 2.13-38) 2.13 gcc version: gcc version 4.7.2 (Debian 4.7.2-5) Configure command: ./configure --localstatedir=/var --enable-starttls --enable-tcpwrappers --with-database=mysql
-
repo owner Yes, your version is too old, look at the build date, almost 2 years old, and doesn't support this keyword.
- Log in to comment
Yes its safe to disable.