Having auto complete on fields firstname and lastname


(Ali Alimardani) #1

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


(Thiago Souza) #2

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