Help understanding River start/close


(Ben McCann) #1

I'm helping to maintain the MongoDB ElasticSearch Riverhttps://github.com/richardwilly98/elasticsearch-river-mongodb.
One thing I'm very unsure about is the conditions under which River.start
and River.closehttps://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/river/River.javawill be called. Are these user or system initiated? Can you call start
again after close has been called?

Thanks,

Ben

P.S. I filed an issue requesting these to be documentedhttps://github.com/elasticsearch/elasticsearch/issues/3787

--
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.


(Ben McCann) #2

ping.

On Friday, September 27, 2013 11:51:07 AM UTC-7, Ben McCann wrote:

I'm helping to maintain the MongoDB ElasticSearch Riverhttps://github.com/richardwilly98/elasticsearch-river-mongodb.
One thing I'm very unsure about is the conditions under which River.start
and River.closehttps://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/river/River.javawill be called. Are these user or system initiated? Can you call start
again after close has been called?

Thanks,

Ben

P.S. I filed an issue requesting these to be documentedhttps://github.com/elasticsearch/elasticsearch/issues/3787

--
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.


(system) #3