Event Handling in Elasticsearch


(narinder.izap) #1
          Hi there,
                       I want to know if the elasticsearch has 

implemented the event handling. Means, something similar to the triggers,
for example, I want my scripting language to perform some action whenever
some document of a particular type is pushed in the Elasticsearch Index.


(Kartavya) #2

Hi

Check percolate on index.

Regards,
Pulkit Agrawal

On Thu, Jan 5, 2012 at 10:27 AM, Narinder Kaur narinder.kaur@izap.in wrote:

          Hi there,
                       I want to know if the elasticsearch has

implemented the event handling. Means, something similar to the triggers,
for example, I want my scripting language to perform some action whenever
some document of a particular type is pushed in the Elasticsearch Index.


(Karel Minarik) #3

Yes, _percolate is the thing you're after, as Pulkit suggests. Check
out http://karmi.github.com/tire/#section-Percolation for an example
how to do it with Ruby. Other clients will have similar support.

On Jan 5, 5:57 am, Narinder Kaur narinder.k...@izap.in wrote:

          Hi there,
                       I want to know if the elasticsearch has

implemented the event handling. Means, something similar to the triggers,
for example, I want my scripting language to perform some action whenever
some document of a particular type is pushed in the Elasticsearch Index.


(system) #4