I was trying to implement autocomplete functionality with elasticsearch completion field suggester.
Step1: Created a test_index:
curl --location --requ