Any plans to create an elasticsearch based engine via API?

Hello,
according to Create an elasticsearch based engine via API it is currently not possible to create index engines via API. Are there any plans to support that in future?

This would help a lot to automate the whole setup and any upgrade/migration plans.

Hi @functionalDev Sorry, this is not on our roadmap.

Fun fact, there's already an API, but it's just not well documented, and the path uses a v0 instead of a v1. This should indicate that it's not fully supported, but just to unblock you:

POST <enterprise-search-host>:<enterprise-search-port>/api/as/v0/engines/
{
  "search_index": {
    "index_name": <elasticsearch-index-name>,
    "alias_name": <optional_alias_name>,
    "type": "elasticsearch"
  }
}

(note this is documented tangentially here: Known issues | App Search documentation [8.14] | Elastic)

First I need to thank both of you for the blazing fast replies. Very exceptional! And thanks Sean for providing a solution even if its a "not fully supported" API, this will help us.

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