Does elasticsearch contain a "run now" feature?


(Richard) #1

Can I run a River "on demand" or do I have to wait for it's polling time to
expire?

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


(David Pilato) #2

If you want to do that, that means you probably don't need a River but something similar to a batch I guess.

To answer to your question, I think that it first depends on the river implementation itself. In most cases, remove the river and create it again.

It should do the trick.

HTH

David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 8 oct. 2013 à 21:46, Richard richard.seidel@mercy.net a écrit :

Can I run a River "on demand" or do I have to wait for it's polling time to expire?

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.

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


(sina.tamanna) #3

As David mentioned, it depends on the river implementation. For JDBC river
you could use: curl -XPOST 'localhost:9200/_river/my_jdbc_river/_induce'

--
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) #4