# HTML autocomplete vs Completion suggestor

**URL:** <https://discuss.elastic.co/t/html-autocomplete-vs-completion-suggestor/31603>\
**Category:** Elasticsearch\
**Created:** [October 5, 2015, 4:12am UTC](https://discuss.elastic.co/t/html-autocomplete-vs-completion-suggestor/31603 "2015-10-05T04:12:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddharth\_gupta](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@siddharth\_gupta](https://discuss.elastic.co/u/siddharth_gupta)\
**Post date:** [October 5, 2015, 4:12am UTC](https://discuss.elastic.co/t/html-autocomplete-vs-completion-suggestor/31603/1 "2015-10-05T04:12:29Z")

</div>

Hello,

When we already have auto complete functionality in HTML then why should I use Completion Suggester of elastic search ?

Can anybody please help to solve the confusion ?

Thanks  
Siddharth

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 5, 2015, 4:15am UTC](https://discuss.elastic.co/t/html-autocomplete-vs-completion-suggestor/31603/2 "2015-10-05T04:15:14Z")

</div>

Which HTML autocomplete are you talking about here?

---

<div class="post-metadata">

**Author:** ![siddharth\_gupta](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@siddharth\_gupta](https://discuss.elastic.co/u/siddharth_gupta)\
**Post date:** [October 5, 2015, 4:17am UTC](https://discuss.elastic.co/t/html-autocomplete-vs-completion-suggestor/31603/3 "2015-10-05T04:17:51Z")

</div>

The one mentioned in the below link:  
[http://www.w3schools.com/tags/att\_input\_autocomplete.asp](http://www.w3schools.com/tags/att_input_autocomplete.asp)  
Am I wrong somewhere ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 5, 2015, 4:18am UTC](https://discuss.elastic.co/t/html-autocomplete-vs-completion-suggestor/31603/4 "2015-10-05T04:18:16Z")

</div>

They're two totally different things though.

---

<div class="post-metadata">

**Author:** ![siddharth\_gupta](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@siddharth\_gupta](https://discuss.elastic.co/u/siddharth_gupta)\
**Post date:** [October 5, 2015, 4:19am UTC](https://discuss.elastic.co/t/html-autocomplete-vs-completion-suggestor/31603/5 "2015-10-05T04:19:24Z")

</div>

Implementing completion suggester will require to index suggestion for every document manually ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 5, 2015, 4:26am UTC](https://discuss.elastic.co/t/html-autocomplete-vs-completion-suggestor/31603/6 "2015-10-05T04:26:40Z")

</div>

Yes, but you can automate it.

---

<div class="post-metadata">

**Author:** ![siddharth\_gupta](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@siddharth\_gupta](https://discuss.elastic.co/u/siddharth_gupta)\
**Post date:** [October 5, 2015, 4:33am UTC](https://discuss.elastic.co/t/html-autocomplete-vs-completion-suggestor/31603/7 "2015-10-05T04:33:04Z")

</div>

Can you please suggest how do we automate it ?  
I have master list of user queries.  
I want the suggestion for a user query to be from this master list.  
How can provide the input and output for each document while indexing ?  
Thanks  
Siddharth

---

<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 5, 2017, 11:46pm UTC](https://discuss.elastic.co/t/html-autocomplete-vs-completion-suggestor/31603/8 "2017-07-05T23:46:50Z")

</div>


