# Run native script on non-data node

**URL:** https://discuss.elastic.co/t/run-native-script-on-non-data-node/17821
**Category:** Elasticsearch
**Created:** [May 29, 2014, 11:47pm UTC](https://discuss.elastic.co/t/run-native-script-on-non-data-node/17821 "2014-05-29T23:47:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![virgil](https://avatars.discourse-cdn.com/v4/letter/v/4af34b/32.png) [@virgil](https://discuss.elastic.co/u/virgil)
#### Post date: [May 29, 2014, 11:47pm UTC](https://discuss.elastic.co/t/run-native-script-on-non-data-node/17821/1 "2014-05-29T23:47:38Z")

</div>

Hi,

Anyone know if it's possible to run native script on non-data node instead  
of running on all the data node?

Thank you!  
Fei

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPRQSRfzsos3h%3DdQktpcZY3N\_E%3D8B9sJDHEbUR%2BBJkt7kMA6yA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPRQSRfzsos3h%3DdQktpcZY3N_E%3D8B9sJDHEbUR%2BBJkt7kMA6yA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![ElasticSearch\_Users\_](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@ElasticSearch\_Users\_](https://discuss.elastic.co/u/ElasticSearch_Users_)
#### Post date: [May 30, 2014, 9:01pm UTC](https://discuss.elastic.co/t/run-native-script-on-non-data-node/17821/2 "2014-05-30T21:01:54Z")

</div>

I don't believe so. If you access a native script from your search and it's  
not on your data node, you will get an error.

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/17a3b703-17e1-45d1-949c-af371e010c9f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/17a3b703-17e1-45d1-949c-af371e010c9f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:25am UTC](https://discuss.elastic.co/t/run-native-script-on-non-data-node/17821/3 "2017-07-06T01:25:37Z")

</div>


