# SOLR-River plugin not working with ES

**URL:** https://discuss.elastic.co/t/solr-river-plugin-not-working-with-es/14579
**Category:** Elasticsearch
**Created:** [November 25, 2013, 2:23pm UTC](https://discuss.elastic.co/t/solr-river-plugin-not-working-with-es/14579 "2013-11-25T14:23:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jsbonline2006](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jsbonline2006](https://discuss.elastic.co/u/jsbonline2006)
#### Post date: [November 25, 2013, 2:23pm UTC](https://discuss.elastic.co/t/solr-river-plugin-not-working-with-es/14579/1 "2013-11-25T14:23:22Z")

</div>

Hi,  
I followed all the steps that are mentioned on this page:

> **[javanna/elasticsearch-river-solr](https://github.com/javanna/elasticsearch-river-solr/)**
>
> elasticsearch-river-solr - Solr River plugin for elasticsearch

ES: elasticsearch-0.90.7  
River Plugin: elasticsearch-river-solr-1.0.4.jar and solr-solrj-4.2.1.jar  
SOLR: solr-4.6.0

However When I execute the river plugin,  
curl -XPUT localhost:9200/\_river/solr\_river/\_meta -d '  
{  
"type" : "solr",  
"solr" : {  
"url" : "[http://localhost:8080/solr/](http://localhost:8080/solr/)",  
"q" : "_:_"  
}  
}'

I get following error:  
{

```
_index: _river 
_type: solr_river 
_id: _status 
_version: 1 
_score: 1 
_source: { 
    error: ElasticSearchParseException[Failed to derive xcontent from] 
    node: { 
        id: Rfg3hxNzTWyr4xoFXFpcJg 
        name: Justice 
        transport_address: inet[/10.102.175.182:9300] 
    } 
} 

```

}

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)
#### Post date: [November 27, 2013, 8:24am UTC](https://discuss.elastic.co/t/solr-river-plugin-not-working-with-es/14579/2 "2013-11-27T08:24:00Z")

</div>

Hi,  
actually the solr river wasn't quite up-to-date and didn't support recent  
versions of elasticsearch (nr probably recent versions of solr). Sorry  
about that, I just fixed it and released a new version.

This new version contains also another improvement: it doesn't use solrj  
anymore to connect to solr but only plain http requests. That helps  
avoiding version conflicts as solrj uses a binary protocol that might  
change between versions.

Cheers  
Luca

On Monday, November 25, 2013 3:23:22 PM UTC+1, Jayesh Bhoyar wrote:

> Hi,  
> I followed all the steps that are mentioned on this page:  
> [GitHub - javanna/elasticsearch-river-solr: Solr River plugin for elasticsearch](https://github.com/javanna/elasticsearch-river-solr/)
> 
> ES: elasticsearch-0.90.7  
> River Plugin: elasticsearch-river-solr-1.0.4.jar and solr-solrj-4.2.1.jar  
> SOLR: solr-4.6.0
> 
> However When I execute the river plugin,  
> curl -XPUT localhost:9200/\_river/solr\_river/\_meta -d '  
> {  
> "type" : "solr",  
> "solr" : {  
> "url" : "[http://localhost:8080/solr/](http://localhost:8080/solr/)",  
> "q" : "_:_"  
> }  
> }'
> 
> I get following error:  
> {
> 
> ```
> _index: _river 
> _type: solr_river 
> _id: _status 
> _version: 1 
> _score: 1 
> _source: { 
> error: ElasticSearchParseException[Failed to derive xcontent from 
> 
> ```
> 
> ]  
> node: {  
> id: Rfg3hxNzTWyr4xoFXFpcJg  
> name: Justice  
> transport\_address: inet[/10.102.175.182:9300]  
> }  
> }
> 
> }

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a7f4326d-a134-4d73-80e3-7c8ebfd7e775%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a7f4326d-a134-4d73-80e3-7c8ebfd7e775%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![jsbonline2006](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jsbonline2006](https://discuss.elastic.co/u/jsbonline2006)
#### Post date: [November 29, 2013, 4:58pm UTC](https://discuss.elastic.co/t/solr-river-plugin-not-working-with-es/14579/3 "2013-11-29T16:58:56Z")

</div>

Thanks Luca.

On Wednesday, November 27, 2013 1:54:00 PM UTC+5:30, Luca Cavanna wrote:

> Hi,  
> actually the solr river wasn't quite up-to-date and didn't support recent  
> versions of elasticsearch (nr probably recent versions of solr). Sorry  
> about that, I just fixed it and released a new version.
> 
> This new version contains also another improvement: it doesn't use solrj  
> anymore to connect to solr but only plain http requests. That helps  
> avoiding version conflicts as solrj uses a binary protocol that might  
> change between versions.
> 
> Cheers  
> Luca
> 
> On Monday, November 25, 2013 3:23:22 PM UTC+1, Jayesh Bhoyar wrote:
> 
> > Hi,  
> > I followed all the steps that are mentioned on this page:  
> > [GitHub - javanna/elasticsearch-river-solr: Solr River plugin for elasticsearch](https://github.com/javanna/elasticsearch-river-solr/)
> > 
> > ES: elasticsearch-0.90.7  
> > River Plugin: elasticsearch-river-solr-1.0.4.jar and  
> > solr-solrj-4.2.1.jar  
> > SOLR: solr-4.6.0
> > 
> > However When I execute the river plugin,  
> > curl -XPUT localhost:9200/\_river/solr\_river/\_meta -d '  
> > {  
> > "type" : "solr",  
> > "solr" : {  
> > "url" : "[http://localhost:8080/solr/](http://localhost:8080/solr/)",  
> > "q" : "_:_"  
> > }  
> > }'
> > 
> > I get following error:  
> > {
> > 
> > ```
> > _index: _river 
> > _type: solr_river 
> > _id: _status 
> > _version: 1 
> > _score: 1 
> > _source: { 
> > error: ElasticSearchParseException[Failed to derive xcontent from 
> > 
> > ```
> > 
> > ]  
> > node: {  
> > id: Rfg3hxNzTWyr4xoFXFpcJg  
> > name: Justice  
> > transport\_address: inet[/10.102.175.182:9300]  
> > }  
> > }
> > 
> > }

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/417c9d84-e05a-4e6e-b816-55513d7b6c58%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/417c9d84-e05a-4e6e-b816-55513d7b6c58%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 2:04am UTC](https://discuss.elastic.co/t/solr-river-plugin-not-working-with-es/14579/4 "2017-07-06T02:04:10Z")

</div>


