Create Search Engine Locally for Elastic Search App

How can I create a search engine locally rather than connect that to the cloud endpoint?
this documentation didn't help me too much.

You've already asking this in How to create new Elastic search engine, so it's best to not duplicate your question :slight_smile: