Hi Koen,
The fact is that xxxtotext converters can only be invoked within the Moodle distribution directory.
Installing antiword and xpdf as standalone packages will not comply with this rule. This was done for a future complete integration of thoses libraries in the /lib distribution, and in case some security settings of PHP and Apache would have restricted access to that executable elsewhere.
This is a restriction I may spit off, but we should have a global developper and architecture discussion before.
In the meanwhile, ensure executable are within <%%Moodleroot%%>. I confess I have no implementation running actually on Linux to evaluate deployement issues. This will come soon, I hope.
Rules are :
I take the value given for the path of the executables, and then the executable is found using the following construction :
$text_converter_cmd = "{$CFG->dirroot}/{$CFG->block_search_pdf_to_text_cmd} $file -";
for PDF, and
$text_converter_cmd = "{$CFG->dirroot}/{$CFG->block_search_word_to_text_cmd} $file";
for Word
Could this help you to setup the search engine. I will add some references to that point in Moodledocs.