So by using the SimplePostTool I can define the application type and handling
of specific documents (Such as word, powerpoint, xml, png, etcetera). I have
defined these and they are handled based on their type. In my file system
however, I have a large number of files that can be read as plain text but
do not have the .txt extension due to the manner in which they were saved. I
would like them to read in a text/plain.

Since posting I have found a workaround - I am using a batch file to read
all the directory's file extensions into a text document and copy/pasting
the extensions from the SimplePostTool Source code. Though not ideal, it
does get the job done.

My thanks for the blog, I will look into it.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Edit-Example-Post-jar-to-read-ALL-file-types-tp4148312p4148566.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to