# How Do I Turn off Document Listings for Facet Queries

**URL:** <https://discuss.elastic.co/t/how-do-i-turn-off-document-listings-for-facet-queries/4173>\
**Category:** Elasticsearch\
**Created:** [March 31, 2011, 8:29am UTC](https://discuss.elastic.co/t/how-do-i-turn-off-document-listings-for-facet-queries/4173 "2011-03-31T08:29:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wolf\_2](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@Wolf\_2](https://discuss.elastic.co/u/Wolf_2)\
**Post date:** [March 31, 2011, 8:29am UTC](https://discuss.elastic.co/t/how-do-i-turn-off-document-listings-for-facet-queries/4173/1 "2011-03-31T08:29:05Z")

</div>

Hi,

Presently my facet queries produce a copious listing preamble of  
documents prior to printing the facet results.

Is there a way to eliminate the document listing and just show the  
facet results?

I disabled \_source on the index but this seems to make no difference.

Regards,

Wolf

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [March 31, 2011, 8:59am UTC](https://discuss.elastic.co/t/how-do-i-turn-off-document-listings-for-facet-queries/4173/2 "2011-03-31T08:59:45Z")

</div>

On Thu, 2011-03-31 at 01:29 -0700, Wolf wrote:

> Hi,
> 
> Presently my facet queries produce a copious listing preamble of  
> documents prior to printing the facet results.
> 
> Is there a way to eliminate the document listing and just show the  
> facet results?
> 
> I disabled \_source on the index but this seems to make no difference.

size=0

and in master, search\_type=count

clint

---

<div class="post-metadata">

**Author:** ![Wolf\_2](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@Wolf\_2](https://discuss.elastic.co/u/Wolf_2)\
**Post date:** [March 31, 2011, 11:34pm UTC](https://discuss.elastic.co/t/how-do-i-turn-off-document-listings-for-facet-queries/4173/3 "2011-03-31T23:34:22Z")

</div>

Thank you Clint, all is well.

On Mar 31, 1:59 am, Clinton Gormley [clin...@iannounce.co.uk](mailto:clin...@iannounce.co.uk) wrote:

> On Thu, 2011-03-31 at 01:29 -0700, Wolf wrote:
> 
> > Hi,
> 
> > Presently my facet queries produce a copious listing preamble of  
> > documents prior to printing the facet results.
> 
> > Is there a way to eliminate the document listing and just show the  
> > facet results?
> 
> > I disabled \_source on the index but this seems to make no difference.
> 
> size=0
> 
> and in master, search\_type=count
> 
> clint

---

<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, 4:09am UTC](https://discuss.elastic.co/t/how-do-i-turn-off-document-listings-for-facet-queries/4173/4 "2017-07-06T04:09:00Z")

</div>

Closed on July 6, 2017, 4:09am UTC


