Having auto complete on fields firstname and lastname

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

There are a few ways to implement autocomplete in Elasticsearch. I suggest that you take a look into and experiment with Suggesters

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