lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5913) Getting error while indexing file using solr 4.7.0
Date Wed, 26 Mar 2014 12:48:20 GMT

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

Erick Erickson commented on SOLR-5913:
--------------------------------------

Yes I did. Old jars in your classpath can account for a myriad of issues.
Many of these pop out in weird ways.

Regardless, a JIRA is an inappropriate place to discuss this until
and unless we have some evidence it's a Solr issue rather than your 
local environment.

> 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


Mime
View raw message