# Completion suggester: How to get hits per output for matching documents?

**URL:** <https://discuss.elastic.co/t/completion-suggester-how-to-get-hits-per-output-for-matching-documents/15222>\
**Category:** Elasticsearch\
**Created:** [January 13, 2014, 3:20pm UTC](https://discuss.elastic.co/t/completion-suggester-how-to-get-hits-per-output-for-matching-documents/15222 "2014-01-13T15:20:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tom_4/32/1045_2.png) [@Tom\_4](https://discuss.elastic.co/u/Tom_4)\
**Post date:** [January 13, 2014, 3:20pm UTC](https://discuss.elastic.co/t/completion-suggester-how-to-get-hits-per-output-for-matching-documents/15222/1 "2014-01-13T15:20:42Z")

</div>

Hi,

is there a way to get the count of matching documents for a certain output  
when using completion suggester?  
There is nothing in the response as i can see, but a very usual requirement  
to show how many documents match a certain suggestion.

Thanks,  
Tom

--  
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/2460b511-2e3d-4068-addf-ef655e88abc4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2460b511-2e3d-4068-addf-ef655e88abc4%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:57am UTC](https://discuss.elastic.co/t/completion-suggester-how-to-get-hits-per-output-for-matching-documents/15222/2 "2017-07-06T01:57:09Z")

</div>


