# Can the \_suggest endpoint use source filtering?

**URL:** <https://discuss.elastic.co/t/can-the--suggest-endpoint-use-source-filtering/67428>\
**Category:** Elasticsearch\
**Created:** [November 29, 2016, 3:11am UTC](https://discuss.elastic.co/t/can-the--suggest-endpoint-use-source-filtering/67428 "2016-11-29T03:11:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![midget2000x](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@midget2000x](https://discuss.elastic.co/u/midget2000x)\
**Post date:** [November 29, 2016, 3:11am UTC](https://discuss.elastic.co/t/can-the--suggest-endpoint-use-source-filtering/67428/1 "2016-11-29T03:11:02Z")

</div>

Currently, a completion suggest request like this:

```
{
   "search_suggest" : {
      "completion" : {
         "field" : "name_suggest"
      },
      "prefix" : "nirv"
   }
}

```

returns all fields for each hit. I can't find a way to configure it so it just returns the fields I need. Seems like it may be faster if it didn't have to send everything back?

I tried adding \_source but I get:

[suggest] does not support [\_source]

I'm using elasticsearch 5

---

<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:** [December 27, 2016, 3:11am UTC](https://discuss.elastic.co/t/can-the--suggest-endpoint-use-source-filtering/67428/2 "2016-12-27T03:11:09Z")

</div>

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