Perhaps I am completly wrong - never got the time to investigate, but in admin -> file galleries, you have handlers for indexation - it means if you have a program that transforms you file to a text you can index it.
If somebody knows more information about this point 😀