Hi,

I face the same problem when trying to index DITA XML files. These are XML
files but have the file extension .dita which Solr ignores.

According to java -jar post.jar -h only the following file extensions are
supported: 

 /-Dfiletypes=<type>[,<type>,...]
 
(default=xml,json,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log)/

As a workaround I can change the file extension to .xml but would prefer not
to be forced to do so. As Solr also checks the MIME type the list of allowed
file extensions shouldn't be that rigid.

http://stackoverflow.com/questions/30763161/solr-post-files-with-no-extention/30769088
suggests a simple bash script with a for loop that submits each file
individually and works regardless of the file extension as a workaround.

Kind regards,
Frank





--
View this message in context: 
http://lucene.472066.n3.nabble.com/file-index-format-tp4199892p4211693.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to