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

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

     [ https://issues.apache.org/jira/browse/SOLR-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson closed SOLR-5913.
--------------------------------

    Resolution: Invalid

First, please raise issues like this on the user's list before raising
a JIRA to see if there's a known solution.

Logging isn't the problem I don't think, but the message about having
multiple jars for SLF4J hints that you have old jars laying around
in your classpath. This would be consistent with recently upgrading.

I'm closing this on the theory that if there were a fundamental issue with being unable to index in 4.7, more people would have reported the problem.

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