# Catch the IndexResponse to launch some operations after the indexation step

**URL:** <https://discuss.elastic.co/t/catch-the-indexresponse-to-launch-some-operations-after-the-indexation-step/13392>\
**Category:** Elasticsearch\
**Created:** [August 29, 2013, 12:42pm UTC](https://discuss.elastic.co/t/catch-the-indexresponse-to-launch-some-operations-after-the-indexation-step/13392 "2013-08-29T12:42:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yves/32/41880_2.png) [@Yves](https://discuss.elastic.co/u/Yves)\
**Post date:** [August 29, 2013, 12:42pm UTC](https://discuss.elastic.co/t/catch-the-indexresponse-to-launch-some-operations-after-the-indexation-step/13392/1 "2013-08-29T12:42:05Z")

</div>

Hi,

I need to make some operation after the indexation step, and I don't see  
where can I catch the IndexResponse in a plugin. I make some analyzer but  
is not here because this is run before the indexation, so there are some  
method to make a plugin or script run after the indexation? (and have a  
reference to the document which be indexed during the indexation).

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [September 12, 2013, 10:05am UTC](https://discuss.elastic.co/t/catch-the-indexresponse-to-launch-some-operations-after-the-indexation-step/13392/2 "2013-09-12T10:05:16Z")

</div>

Hey,

there are listeners for this, which you can register in a custom written  
plugin. There is a class called IndexingOperationListener, which can using  
the IndexingService.

--Alex

On Thu, Aug 29, 2013 at 2:42 PM, Yves [yves.lerumeur@gmail.com](mailto:yves.lerumeur@gmail.com) wrote:

> Hi,
> 
> I need to make some operation after the indexation step, and I don't see  
> where can I catch the IndexResponse in a plugin. I make some analyzer but  
> is not here because this is run before the indexation, so there are some  
> method to make a plugin or script run after the indexation? (and have a  
> reference to the document which be indexed during the indexation).
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:16am UTC](https://discuss.elastic.co/t/catch-the-indexresponse-to-launch-some-operations-after-the-indexation-step/13392/3 "2017-07-06T02:16:56Z")

</div>


