Stopping a River


(Adam Estrada) #1

Is there any way to do this without deleting the contents? I am
working on the twitter river and would like to start and stop it as
needed.

Thanks,
Adam


(dpilato) #2
Is there any way to do this without deleting the contents? I am working on the twitter river and would like to start and stop it as needed. Not at this time. But there is a feature request on it : https://github.com/elasticsearch/elasticsearch/issues/951

Take care


(Clinton Gormley) #3

On Thu, 2011-06-30 at 10:05 -0700, dpilato wrote:

Adam Estrada wrote:

Is there any way to do this without deleting the contents? I am
working on the twitter river and would like to start and stop it as
needed.

Not at this time. But there is a feature request on it :
https://github.com/elasticsearch/elasticsearch/issues/951

The couch river is not quite the same as the twitter river. The twitter
river just reads the new tweets, it doesn't try to download all of the
old tweets.

So yes, you can stop the river without deleting the tweets that have
already been indexed. Just delete the river, and not the index where
the data is stored.

clint


(Adam Estrada) #4

That did it! Thanks...

Adam

On Thu, Jun 30, 2011 at 1:29 PM, Clinton Gormley clinton@iannounce.co.ukwrote:

On Thu, 2011-06-30 at 10:05 -0700, dpilato wrote:

Adam Estrada wrote:

Is there any way to do this without deleting the contents? I am
working on the twitter river and would like to start and stop it as
needed.

Not at this time. But there is a feature request on it :
https://github.com/elasticsearch/elasticsearch/issues/951

The couch river is not quite the same as the twitter river. The twitter
river just reads the new tweets, it doesn't try to download all of the
old tweets.

So yes, you can stop the river without deleting the tweets that have
already been indexed. Just delete the river, and not the index where
the data is stored.

clint


(system) #5