Fulltextsearch - Elasticsearch - file type filtering

Hi guys,

I have a question concerning the Fulltextsearch. I have an AiO instance running under Ubuntu Server 22.04. When I try to index my files with the

php occ fulltextsearch:index

command, it indexes some files, but after some time, it stops.

The file type where it has problems are for example .bin files.

Now I would like to know, if it is possible to exclude file types like .bin or .pkg from getting indexed or limit the files to be indexed to .docx, .pdf, .xlsx, etc.

An alternative would be excluding specific paths from getting indexed.

Thank you for your help!

Maginos