# Plugin to modify "get" and "search" action results

**URL:** <https://discuss.elastic.co/t/plugin-to-modify-get-and-search-action-results/243837>\
**Category:** Elasticsearch\
**Created:** [August 5, 2020, 9:33am UTC](https://discuss.elastic.co/t/plugin-to-modify-get-and-search-action-results/243837 "2020-08-05T09:33:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zyx\_0312](https://avatars.discourse-cdn.com/v4/letter/z/d9b06d/32.png) [@zyx\_0312](https://discuss.elastic.co/u/zyx_0312)\
**Post date:** [August 5, 2020, 9:33am UTC](https://discuss.elastic.co/t/plugin-to-modify-get-and-search-action-results/243837/1 "2020-08-05T09:33:28Z")

</div>

I want to implement a elasticsearch plugin, which could modify the _get_ and _search_ action results, such as modify the field's value of docs, then return the modified docs result to users.  
I want to know which kind of plugin should I implements, ActionPlugin or others? Which method I should Override? And any other helpful information.  
Elasticsearch version: 6.7.2  
Thanks!

---

<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:** [September 2, 2020, 9:33am UTC](https://discuss.elastic.co/t/plugin-to-modify-get-and-search-action-results/243837/2 "2020-09-02T09:33:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
