# Native script read \_fields

**URL:** <https://discuss.elastic.co/t/native-script-read--fields/23294>\
**Category:** Elasticsearch\
**Created:** [April 17, 2015, 12:26pm UTC](https://discuss.elastic.co/t/native-script-read--fields/23294 "2015-04-17T12:26:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronny\_Deter](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@Ronny\_Deter](https://discuss.elastic.co/u/Ronny_Deter)\
**Post date:** [April 17, 2015, 12:26pm UTC](https://discuss.elastic.co/t/native-script-read--fields/23294/1 "2015-04-17T12:26:23Z")

</div>

Hi,

it is possible to read an \_fields entry in a native script?  
When i try it i get this error message ElasticsearchIllegalArgumentException[No  
field found for [_fieldKey_] in mapping with types []]

--  
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/7e35e77d-9fb8-4c8e-b750-283347c2ee79%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7e35e77d-9fb8-4c8e-b750-283347c2ee79%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, 12:19am UTC](https://discuss.elastic.co/t/native-script-read--fields/23294/2 "2017-07-06T00:19:04Z")

</div>


