# Help needed with completion suggestor

**URL:** <https://discuss.elastic.co/t/help-needed-with-completion-suggestor/109841>\
**Category:** Elasticsearch\
**Created:** [November 30, 2017, 9:46pm UTC](https://discuss.elastic.co/t/help-needed-with-completion-suggestor/109841 "2017-11-30T21:46:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Jaspreet\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaspreet_singh/32/58296_2.png) [@Jaspreet\_Singh](https://discuss.elastic.co/u/Jaspreet_Singh)\
**Post date:** [December 1, 2017, 3:57pm UTC](https://discuss.elastic.co/t/help-needed-with-completion-suggestor/109841/3 "2017-12-01T15:57:40Z")

</div>

@spinscale Thanks for the points.  
Actually there are a couple of things that caught my attention and was wondering if you can help me understand

1. _"Just create a tags index, set the \_id of the document to be the tag name and create one document per tag with a completion field "_ - Why set \_id to tag name? Im guessing it is to ensure non-duplication of tags while indexing using op\_type=create. Is it?
2. "_In fact I am not even sure you need a completion field for that if your index is separated, just use the prefix and fuzzy rewrite options on a keyword field to match your needs._" - What is this about? Also, if we do not have a completion field we lose the optimization ES provides for auto suggest feature right?
3. The last question I had was - what if I wanted to capture user search strings and use them as auto suggest tags. I can simply add search strings as well to this separate index. This part is ok. But, I would want more frequently searched terms/tags to be returned in preference to others. Im guessing the "weight" parameter for the tag can help. But how do I dynamically update weight for an existing tag? This one is puzzling me a lot !

---

_[View the full topic](https://discuss.elastic.co/t/help-needed-with-completion-suggestor/109841)._
