I am running Solr 4.8.1 and indexing with the SimplePostTool (post.jar in the example\exampledocs directory).
I can successfully index xml, json, csv, pdf, doc, docx, ppt, pptx, xls, xlsx files but when attempting to index other files types ( .txt, ,7z .rar .EAP .sql .zip .avi) I have given the error:
"SimplePostTool: WARNING Solr returned an error #400 Bad Request SimplePostTool: WARNING: IOException while reading response: java.io.IOException: Server returned HTTP responsecode : 400 for URL: /"
Solr also tells me that it successfully indexed any text files I've included, but those "indexed" files don't show up in the browser I've set up for solr, or in solaritas, the default solr browser.
Is there a way to index files like the ones above to solr? - even if the context can't be indexed for some (such as the .avi) can the metadata be indexed? If so can it be done by editing the SimplePostTool or do I need something else?
EDIT: Since writing, I have found this question SOLR index and extract .sh and .sql files (very similar) which recommends editing the MIME map in SimplePostTool.java, however I cannot find that recommended portion of code anywhere in SimplePostTool.java! Where could I find this code? Is there an easier way to do this?