SOLR-River plugin not working with ES


(jsbonline2006) #1

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

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/",
"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.
For more options, visit https://groups.google.com/groups/opt_out.


(Luca Cavanna) #2

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:
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/",
"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.
To view this discussion on the web visit 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.


(jsbonline2006) #3

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:
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/",
"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.
To view this discussion on the web visit 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.


(system) #4