I have data that contains email id's of people, in the format of firstname.lastname@example.com
, for example-
abc.def@example.com
stu.vwx@example
abd.rew@example.com
acw.try@example.com
swe.ewq@example.com
I want a query that gives me the first name results which I type in the search bar. For example,
Input -
a
Result -
abc
abd
acw
Input-
ab
Result-
abc
abd
Could someone please help me in how can I achieve this using the Elasticsearch
query?