# How to write bool query in completion suggestor?

**URL:** <https://discuss.elastic.co/t/how-to-write-bool-query-in-completion-suggestor/141691>\
**Category:** Elasticsearch\
**Created:** [July 26, 2018, 5:20am UTC](https://discuss.elastic.co/t/how-to-write-bool-query-in-completion-suggestor/141691 "2018-07-26T05:20:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [July 26, 2018, 5:20am UTC](https://discuss.elastic.co/t/how-to-write-bool-query-in-completion-suggestor/141691/1 "2018-07-26T05:20:07Z")

</div>

Hi All,

I have occurred a situation where we need to get suggestions based text they entered and we need to authentication id.How to achieve this.  
Thanks in advance,

Kartheek Gummaluri

---

<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:** [August 23, 2018, 5:20am UTC](https://discuss.elastic.co/t/how-to-write-bool-query-in-completion-suggestor/141691/2 "2018-08-23T05:20:09Z")

</div>

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