# How does painless get the original value of document (without participle)?

**URL:** <https://discuss.elastic.co/t/how-does-painless-get-the-original-value-of-document-without-participle/135282>\
**Category:** Elasticsearch\
**Created:** [June 11, 2018, 3:31am UTC](https://discuss.elastic.co/t/how-does-painless-get-the-original-value-of-document-without-participle/135282 "2018-06-11T03:31:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hubiao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hubiao/32/26178_2.png) [@hubiao](https://discuss.elastic.co/u/hubiao)\
**Post date:** [June 11, 2018, 3:31am UTC](https://discuss.elastic.co/t/how-does-painless-get-the-original-value-of-document-without-participle/135282/1 "2018-06-11T03:31:48Z")

</div>

Environmental Science：

```
Window R2 64
JDK 1.8
ElasticSearch5.5.0
300 million data, 20G index.

```

How do I use doc[key] to get the value of the participle in the painless script? Or get the value of  
his original document

---

<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 9, 2018, 3:31am UTC](https://discuss.elastic.co/t/how-does-painless-get-the-original-value-of-document-without-participle/135282/2 "2018-07-09T03:31:59Z")

</div>

Closed on July 9, 2018, 3:31am UTC

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