How to create RabbitMq River using java api?

Hi

I'm newbie for elastic search.i want to create index using Rabbitmq
river using java.I had go through http://www.elasticsearch.org/guide/reference/river/rabbitmq.html
but it does not give any information regarding which class or method
will be helpful to create Rabbitmq river.please provide details
description of how to use Rabbitmq river index creator class and also
if u know any document regarding for it.

Thanks

As you can see in the page, creating a river is just a matter of indexing
the river information into the _river index. So, simply using the index API
in Java with the relevant parameters (easily mapped from the curl sample)
will do.

On Tue, Sep 20, 2011 at 3:50 PM, Arun singh.arun8@gmail.com wrote:

Hi

I'm newbie for Elasticsearch.i want to create index using Rabbitmq
river using java.I had go through
Elasticsearch Platform — Find real-time answers at scale | Elastic
but it does not give any information regarding which class or method
will be helpful to create Rabbitmq river.please provide details
description of how to use Rabbitmq river index creator class and also
if u know any document regarding for it.

Thanks

BTW, you can have a look at this : https://github.com/elasticsearch/elasticsearch/blob/master/plugins/river/couchdb/src/test/java/org/elasticsearch/river/couchdb/CouchdbRiverAttachementTest.java

David :wink:

Le 20 sept. 2011 à 17:41, Shay Banon kimchy@gmail.com a écrit :

As you can see in the page, creating a river is just a matter of indexing the river information into the _river index. So, simply using the index API in Java with the relevant parameters (easily mapped from the curl sample) will do.

On Tue, Sep 20, 2011 at 3:50 PM, Arun singh.arun8@gmail.com wrote:
Hi

I'm newbie for Elasticsearch.i want to create index using Rabbitmq
river using java.I had go through Elasticsearch Platform — Find real-time answers at scale | Elastic
but it does not give any information regarding which class or method
will be helpful to create Rabbitmq river.please provide details
description of how to use Rabbitmq river index creator class and also
if u know any document regarding for it.

Thanks

Thanks for reply.Is there is any java classes that help to create
Rabbitmq river because my index data come from Rabbitmq queue so i
need to use Rabbitmq river and also IS there is way to set my own
configuration related to Rabbitmq river default.

On Sep 20, 9:54 pm, David Pilato da...@pilato.fr wrote:

BTW, you can have a look at this :https://github.com/elasticsearch/elasticsearch/blob/master/plugins/ri...

David :wink:

Le 20 sept. 2011 à 17:41, Shay Banon kim...@gmail.com a écrit :

As you can see in the page, creating a river is just a matter of indexing the river information into the _river index. So, simply using the index API in Java with the relevant parameters (easily mapped from the curl sample) will do.

On Tue, Sep 20, 2011 at 3:50 PM, Arun singh.ar...@gmail.com wrote:
Hi

I'm newbie for Elasticsearch.i want to create index using Rabbitmq
river using java.I had go throughhttp://www.elasticsearch.org/guide/reference/river/rabbitmq.html
but it does not give any information regarding which class or method
will be helpful to create Rabbitmq river.please provide details
description of how to use Rabbitmq river index creator class and also
if u know any document regarding for it.

Thanks

Yes, there is. You simply "index" a document against the _river index, thats
the meta definition in the river. This part:
Elasticsearch Platform — Find real-time answers at scale | Elastic shows how
you create the river using curl, which basically ends up indexing a
document. You can do the same using the Java API and index in a similar
manner. here is a sample from a test:
https://github.com/elasticsearch/elasticsearch/blob/master/plugins/river/rabbitmq/src/test/java/org/elasticsearch/river/rabbitmq/RabbitMQRiverTest.java
.

On Wed, Sep 21, 2011 at 7:17 AM, Arun singh.arun8@gmail.com wrote:

Thanks for reply.Is there is any java classes that help to create
Rabbitmq river because my index data come from Rabbitmq queue so i
need to use Rabbitmq river and also IS there is way to set my own
configuration related to Rabbitmq river default.

On Sep 20, 9:54 pm, David Pilato da...@pilato.fr wrote:

BTW, you can have a look at this :
https://github.com/elasticsearch/elasticsearch/blob/master/plugins/ri...

David :wink:

Le 20 sept. 2011 à 17:41, Shay Banon kim...@gmail.com a écrit :

As you can see in the page, creating a river is just a matter of
indexing the river information into the _river index. So, simply using the
index API in Java with the relevant parameters (easily mapped from the curl
sample) will do.

On Tue, Sep 20, 2011 at 3:50 PM, Arun singh.ar...@gmail.com wrote:
Hi

I'm newbie for Elasticsearch.i want to create index using Rabbitmq
river using java.I had go throughhttp://
Elasticsearch Platform — Find real-time answers at scale | Elastic
but it does not give any information regarding which class or method
will be helpful to create Rabbitmq river.please provide details
description of how to use Rabbitmq river index creator class and also
if u know any document regarding for it.

Thanks