# Completion suggester without context in query for elasticsearch 7.X

**URL:** <https://discuss.elastic.co/t/completion-suggester-without-context-in-query-for-elasticsearch-7-x/212952>\
**Category:** Elasticsearch\
**Created:** [December 24, 2019, 12:02pm UTC](https://discuss.elastic.co/t/completion-suggester-without-context-in-query-for-elasticsearch-7-x/212952 "2019-12-24T12:02:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RohanKumbhar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rohankumbhar/32/23649_2.png) [@RohanKumbhar](https://discuss.elastic.co/u/RohanKumbhar)\
**Post date:** [December 24, 2019, 12:02pm UTC](https://discuss.elastic.co/t/completion-suggester-without-context-in-query-for-elasticsearch-7-x/212952/1 "2019-12-24T12:02:49Z")

</div>

Hi Team,

I am using elasticsearch 6.8 where i have fields in schema with autocomplete analyzer with contexts.  
and its working fine when i query with completion suggester without context. But issue is that when i do the same in Elasticsearch 7.X it gives an error saying "Missing mandatory context in context query"

Is there any way to fix this issue if i want to migrate to latest version of Elasticsearch from 6.8

Thanks,  
Rohan

---

<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:** [January 21, 2020, 12:02pm UTC](https://discuss.elastic.co/t/completion-suggester-without-context-in-query-for-elasticsearch-7-x/212952/2 "2020-01-21T12:02:58Z")

</div>

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