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

**URL:** <https://discuss.elastic.co/t/wp-cli-please-complete-the-setup-of-your-index-options-there-is-no-index-configured-for-searching/377841>\
**Category:** Elasticsearch\
**Created:** [May 6, 2025, 8:08am UTC](https://discuss.elastic.co/t/wp-cli-please-complete-the-setup-of-your-index-options-there-is-no-index-configured-for-searching/377841 "2025-05-06T08:08:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flavius\_V](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flavius_v/32/137725_2.png) [@Flavius\_V](https://discuss.elastic.co/u/Flavius_V)\
**Post date:** [May 6, 2025, 8:08am UTC](https://discuss.elastic.co/t/wp-cli-please-complete-the-setup-of-your-index-options-there-is-no-index-configured-for-searching/377841/1 "2025-05-06T08:08:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Carlos\_D](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_d/32/126245_2.png) [@Carlos\_D](https://discuss.elastic.co/u/Carlos_D)\
**Post date:** [May 9, 2025, 1:33pm UTC](https://discuss.elastic.co/t/wp-cli-please-complete-the-setup-of-your-index-options-there-is-no-index-configured-for-searching/377841/3 "2025-05-09T13:33:13Z")

</div>

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.
