solr File Upload "Unsupported ContentType: application/vnd.ms-excel Not in: [application/xml, application/csv, application/json, text/json, text/csv, text/xml, application/javabin]",

  今天在用solr管理界面导入文件时报错:"Unsupported ContentType: application/vnd.ms-excel  Not in: [application/xml, application/csv, application/json, text/json, text/csv, text/xml, application/javabin]",

  如下图:

  

 

  解决方法是修改Request-Handler (qt)改为: /update/extract

  

 

posted on 2017-11-20 16:09  shaomine  阅读(908)  评论(0编辑  收藏  举报