# ES 7.5 - Custom plugin, only calling local shards

**URL:** <https://discuss.elastic.co/t/es-7-5-custom-plugin-only-calling-local-shards/242757>\
**Category:** Elasticsearch\
**Created:** [July 27, 2020, 2:00pm UTC](https://discuss.elastic.co/t/es-7-5-custom-plugin-only-calling-local-shards/242757 "2020-07-27T14:00:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JF2018](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JF2018](https://discuss.elastic.co/u/JF2018)\
**Post date:** [July 27, 2020, 2:00pm UTC](https://discuss.elastic.co/t/es-7-5-custom-plugin-only-calling-local-shards/242757/1 "2020-07-27T14:00:08Z")

</div>

Hi

I have written a custom plugin in ES 7.5.2.  
**My problem is, when calling the plugin, it only looks in the local shards, and not in shards on other nodes.**  
This means I have to have all shards on every node, to make it work.  
My instinct tells me, this should not be necessary, but I cant seem to find any setting or likewise, to tell the plugin, to look in other nodes for the missing shards.

Hope someone can help 🙂

Jens

---

<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:** [August 24, 2020, 2:00pm UTC](https://discuss.elastic.co/t/es-7-5-custom-plugin-only-calling-local-shards/242757/2 "2020-08-24T14:00:11Z")

</div>

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