I am working with Solr 4.8.1 to set up an enterprise search system. The file system I am working with has numerous files with unique extension types (ex .20039 .20040 .20041 etc.)
I am using the post.jar file included in the binary download (src: SimplePostTool.java <http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/util/SimplePostTool.java> )to post these files to the solr server and would like to edit this jar file to recognize /any/ file extension it comes across. Is there a way to do this with the SimplePostTool.java source? I am right now working to better understand the Filetype and DEFAULT_FILE_TYPE variables as well as the mimeMap. It is these that currently allow me to manually add file extensions. I would however, like the tool to be able to read in files no matter what they extension was and default their mime type to text/plain. -- View this message in context: http://lucene.472066.n3.nabble.com/Edit-Example-Post-jar-to-read-ALL-file-types-tp4148312.html Sent from the Solr - User mailing list archive at Nabble.com.