# About How to access doc.freq for single element in nested in script inline

**URL:** <https://discuss.elastic.co/t/about-how-to-access-doc-freq-for-single-element-in-nested-in-script-inline/180289>\
**Category:** Elasticsearch\
**Created:** [May 9, 2019, 6:34am UTC](https://discuss.elastic.co/t/about-how-to-access-doc-freq-for-single-element-in-nested-in-script-inline/180289 "2019-05-09T06:34:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spsanthoshi](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@spsanthoshi](https://discuss.elastic.co/u/spsanthoshi)\
**Post date:** [May 9, 2019, 6:34am UTC](https://discuss.elastic.co/t/about-how-to-access-doc-freq-for-single-element-in-nested-in-script-inline/180289/1 "2019-05-09T06:34:41Z")

</div>

I have nested address field, addressline is bigram analyzer is applied.I need to get no.of pairs matched in addressline field for each element in nested

---

<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:** [June 6, 2019, 6:48am UTC](https://discuss.elastic.co/t/about-how-to-access-doc-freq-for-single-element-in-nested-in-script-inline/180289/2 "2019-06-06T06:48:45Z")

</div>

Closed on June 6, 2019, 6:48am UTC

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