# Elastic native script scoring

**URL:** https://discuss.elastic.co/t/elastic-native-script-scoring/62639
**Category:** Elasticsearch
**Created:** [October 10, 2016, 2:09pm UTC](https://discuss.elastic.co/t/elastic-native-script-scoring/62639 "2016-10-10T14:09:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mohaymen\_company](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mohaymen\_company](https://discuss.elastic.co/u/mohaymen_company)
#### Post date: [October 10, 2016, 2:09pm UTC](https://discuss.elastic.co/t/elastic-native-script-scoring/62639/1 "2016-10-10T14:09:09Z")

</div>

hello  
i am using java native script and i want to find which word in document matched to my query  
how can i access the words that match to my query ?

---

<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 5, 2017, 10:13pm UTC](https://discuss.elastic.co/t/elastic-native-script-scoring/62639/2 "2017-07-05T22:13:37Z")

</div>


