In an instance of OPS 3.2.1 the full-text search is not working.
In config.inc.php we add the line below:
index[application/pdf] = "/usr/bin/pdftotext -enc UTF-8 -nopgbrk %s - | /usr/bin/tr '[:cntrl:]' ' '"
And then we run the
Even after weeks, nothing has changed. We didn’t find PDF terms, just the same results as the standard OPS indexing.
We downloaded a PDF on the server and tested it via the command line for testing and the output was the full text, as expected:
/usr/bin/pdftotext -enc UTF-8 -nopgbrk "1397-Preprint Text-2293-3-10-20201023.pdf" - | /usr/bin/tr '[:cntrl:]' ' '
[PDF fulltext output here]
Could you guide us on how to find out why it is not working?
note: I created a new topic, because the ones I found are for OJS.