# Having auto complete on fields firstname and lastname

**URL:** <https://discuss.elastic.co/t/having-auto-complete-on-fields-firstname-and-lastname/115382>\
**Category:** Elasticsearch\
**Created:** [January 12, 2018, 10:40pm UTC](https://discuss.elastic.co/t/having-auto-complete-on-fields-firstname-and-lastname/115382 "2018-01-12T22:40:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alimardani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alimardani/32/26532_2.png) [@alimardani](https://discuss.elastic.co/u/alimardani)\
**Post date:** [January 12, 2018, 10:40pm UTC](https://discuss.elastic.co/t/having-auto-complete-on-fields-firstname-and-lastname/115382/1 "2018-01-12T22:40:09Z")

</div>

Hi,

I am new to elastic search. I am designing my indices now. I want to confirm that should I make the fields firstname and lastname as text if I want to have auto complete on them?  
Or keyword is also works?

Thanks

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [January 14, 2018, 5:16pm UTC](https://discuss.elastic.co/t/having-auto-complete-on-fields-firstname-and-lastname/115382/2 "2018-01-14T17:16:25Z")

</div>

There are a few ways to implement autocomplete in Elasticsearch. I suggest that you take a look into and experiment with [Suggesters](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html)

---

<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:** [February 11, 2018, 5:16pm UTC](https://discuss.elastic.co/t/having-auto-complete-on-fields-firstname-and-lastname/115382/3 "2018-02-11T17:16:25Z")

</div>

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