[ 
https://issues.apache.org/jira/browse/SOLR-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13947853#comment-13947853
 ] 

rakesh shelar commented on SOLR-5913:
-------------------------------------

Have you look at actual error other than warning about log SLF4J says something 
about MIME types

adding E:\Development\SOLR\testsolrdocs\schema.xml
Exception in thread "main" 
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: 
Unsupported ContentType: application/octet-stream Not in: [application/xml, 
text/csv, text/json, application/csv, application/javabin, text/xml, 
application/json]



> Getting error while indexing file using solr 4.7.0
> --------------------------------------------------
>
>                 Key: SOLR-5913
>                 URL: https://issues.apache.org/jira/browse/SOLR-5913
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 4.7
>         Environment: Windows 7 64 bit
>            Reporter: rakesh shelar
>            Priority: Critical
>              Labels: features, test
>
> I am getting following error while indexing file using solr 4.7.0
> same code was working with Solr 3.6.0
> here is error
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in 
> [jar:file:/E:/Development/apache-tomcat-7.0.42/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in 
> [jar:file:/E:/Development/workspace/SearchService/WebContent/WEB-INF/lib/tika-app-1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> adding E:\Development\SOLR\testsolrdocs\schema.xml
> Exception in thread "main" 
> org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: 
> Unsupported ContentType: application/octet-stream  Not in: [application/xml, 
> text/csv, text/json, application/csv, application/javabin, text/xml, 
> application/json]
>       at 
> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:495)
>       at 
> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:199)
>       at 
> org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer.request(ConcurrentUpdateSolrServer.java:277)
>       at com.nis.rave.search.TestIndex.indexDocs(TestIndex.java:78)
>       at com.nis.rave.search.TestIndex.main(TestIndex.java:41)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to