Hi Tuan,
Thnx for your reply.
I installed indexer. The first problem I noticed is that file adapter.php is not installed and I put it manually on plugins/edocman/indexer.
I tried to create a new doc with a pdf file ( in the administrator side) but no index occurred. The field indexed_content is null.
I had a look in your code and I found out that the binary pdftotext was not executable and accessible for all users so I changed to 777 mode (I use a Mac and the server is within my Mac). But still no result. Then I tried to run the command
pdftotext -enc UTF-8 filename 2>&1
from your pdf.php file and it produced a txt file with all content of the pdf file which in normal situation I guess it feeds indexed_content field.
Do you have any idea where the problem might be?