I guess you need to set interval. See doc plugin on the home page of the JDBC 
river.

interval - a time value for the delay between two river runs (default: not set)

--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 14 janv. 2015 à 06:01, Amtul Nazneen <[email protected]> a écrit :
> 
> Ohkay. So the river runs only once when the script starts? And after that 
> won't it be running in the background to fetch the updates according to a 
> schedule?
> 
>> On Monday, January 12, 2015 at 1:23:08 PM UTC+5:30, Ed Kim wrote:
>> It executes once. You could consider running that script on a schedule and 
>> doing incremental updates using timestamps. 
>> 
>>> On Sunday, January 11, 2015 at 9:24:28 PM UTC-8, Amtul Nazneen wrote:
>>> Thank you. I have a doubt though, once I run the script, the river plugin 
>>> is started and the data gets indexed into Elasticsearch, I want to know, if 
>>> the plugin would be running after that, or does it stop once the script 
>>> execution comes to an end?
>>> 
>>>> 
> 
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/a0997950-4ca4-4036-9550-d1da3816b503%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/BC10D79E-335C-4D89-8F41-EE95FCDAA464%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to