# Is it possible to count tokens which matched documents?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-count-tokens-which-matched-documents/267338>\
**Category:** Elasticsearch\
**Created:** [March 16, 2021, 9:15am UTC](https://discuss.elastic.co/t/is-it-possible-to-count-tokens-which-matched-documents/267338 "2021-03-16T09:15:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [March 17, 2021, 8:18am UTC](https://discuss.elastic.co/t/is-it-possible-to-count-tokens-which-matched-documents/267338/4 "2021-03-17T08:18:34Z")

</div>

[This discussion](https://discuss.elastic.co/t/mapping-the-query-to-the-highlight-using-fvh/257836/2) may be relevant then.

---

_[View the full topic](https://discuss.elastic.co/t/is-it-possible-to-count-tokens-which-matched-documents/267338)._
