# Context Suggester and document update

**URL:** <https://discuss.elastic.co/t/context-suggester-and-document-update/18277>\
**Category:** Elasticsearch\
**Created:** [June 24, 2014, 7:08am UTC](https://discuss.elastic.co/t/context-suggester-and-document-update/18277 "2014-06-24T07:08:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giorgos\_Vasileiou](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@Giorgos\_Vasileiou](https://discuss.elastic.co/u/Giorgos_Vasileiou)\
**Post date:** [June 24, 2014, 7:08am UTC](https://discuss.elastic.co/t/context-suggester-and-document-update/18277/1 "2014-06-24T07:08:11Z")

</div>

I've been using the new Context Suggester and I've observed that if I  
update the context values (and the path fields) the category query would  
return the same result set as per before the update. This happens even if I  
pass the refresh parameter as 'true'.

Is there a way to make the Context Suggester work with document updates or  
the only way is to explicitly delete and re-create the document with the  
relevant changes?

--  
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/449f66bf-f4cc-4235-89e8-790566b34dc0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/449f66bf-f4cc-4235-89e8-790566b34dc0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:20am UTC](https://discuss.elastic.co/t/context-suggester-and-document-update/18277/2 "2017-07-06T01:20:20Z")

</div>

Closed on July 6, 2017, 1:20am UTC


