Files_fulltextsearch_tesseract 1.2.2 do not work

Hi nextcloudies,

on my config fulltextsearch works well with text, docs, pdf and so on but indexing of pics with tesseract seems to me is not fully implemented. On the command-line tesseract self works well.

If i try to index a jpg or png this error appears:

Error: 1/1
Index: files:1757
Exception: Class ‘OCP\FullTextSearch\Model\IndexDocument’ not found
Message: Error while getting file content

IMHO there is a problem with a Class Definition in
/var/www/html/custom_apps/files_fulltextsearch_tesseract/lib/Service/TesseractService.php
but me coding skills are really “down under” …

my config:

NC 16
fulltextsearch: 1.3.1
fulltextsearch_elasticsearch: 1.3.0