I would like to extract the text from documents stored in a SharePoint 2013 online Document Library.
I have the document loaded using:
ClientResult<Stream> data = file.OpenBinaryStream();
Ideally I would like to use iFilters to extract the text to a string (I would prefer this method as OpenXML will limit the documents types and versions).
I know this is a big ask but could anyone provide guidance on passing the data through an iFilter to produce a string that contains it's plain text.
This Link has an example of exactly what I would like to achieve but it expects a local file - could anyone advise on how a SharePoint file could be passed into this example.
I am using C# CSOM and would really appreciate any guidance.