Text files not getting indexed

It seems I have installed succesfully NC 18 and Elasticsearch for full text indexing. However, when I search for some given text, I can only find PDF files as a result. Obviously, plain text files seems not to get indexed. Is this a bug or a feature?