You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "rakesh shelar (JIRA)" <ji...@apache.org> on 2014/03/26 07:19:15 UTC

[jira] [Created] (SOLR-5913) Getting error while indexing file using solr 4.7.0

rakesh shelar created SOLR-5913:
-----------------------------------

             Summary: 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


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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org