Disable search inside pdf

Hi. I would like disable the search inside the PDF files on OJS 3.2.1.2

Looking in the config file i found the lines:
; PDF

393 ; index[application/pdf] = “/usr/bin/pstotext -enc UTF-8 -nopgbrk %s - | /usr/bin/tr ‘[:cntrl:]’ ’ '”

394 ; index[application/pdf] = “/usr/bin/pdftotext -enc UTF-8 -nopgbrk %s - | /usr/bin/tr ‘[:cntrl:]’ ’ '”

i´ll just erase this lines or what should i do?

Thanks

Hi @soporteEscire

If the lines have semi-colons in front of them, then PDF indexing should already be disabled.

Cheers,
Jason

1 Like