WP-CLI: Please complete the setup of your index options. There is no index configured for searching

Hi,

we try running a wp-cli command to run a sync to index our existing content in Elasticsearch, using Elasticpress plugin.
We are using the following WP-CLI command: wp elasticpress sync --force --setup --show-errors --yes
When we tried to execute the provided command using WP-CLI and encountered the following error: "Please complete the setup of your index options. There is no index configured for searching ".
Could please anyone help us understand how we should treat this error?

Here is the log:

[xxx@server public_html]$ p elasticpress sync --force --setup --show-errors --yes
Sync cleared.
Success: Indexing posts..
Success: Mapping sent
Processed posts 0 - 350 of 300503. Last Object ID: 623866
Processed posts 350 - 700 of 300503. Last Object ID: 623021
Processed posts 700 - 1050 of 300503. Last Object ID: 622297
‹span class='infor'>Please complete the setup of your index options. There is no index configured for searching.[xxx@server public_html]$ [xxx@server public_html]$

Many thanks,
F.

Hi @Flavius_V :

Unfortunately, wp-cli is not supported by Elasticsearch, nor does Elastic contribute to its development.

I think you should try wp-cli specific forums or contact their maintainers to get help.