Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Bruno Kos 1 year, 11 months ago.

Assisted by: Bruno Kos.

Author Posts
March 7, 2023 at 5:12 pm #13192135

louisN-4

please convert to forum ticket and answer there

i did this:
https://wpml.org/documentation/plugins-compatibility/using-elasticpress-on-your-multilingual-site/

installed plugin and then deleted all the elastic documents and ran wpcli command for en he ru

but go this response, where it did only 20 documents, do you know why?

================================================
[root@newserver ~]# cd /home/kidenoad/domains/kideno.com/public_html
[root@newserver public_html]# su kidenoad
[kidenoad@newserver public_html]$ pwd
/home/kidenoad/domains/kideno.com/public_html
[kidenoad@newserver public_html]$ wp elasticpress delete-index
Are you sure you want to delete your Elasticsearch index? [y/n] y
Success: Index deleted
Deleting index for posts…
[kidenoad@newserver public_html]$ wp wpml_elasticpress index --setup --post-type=post --post-lang=he
Indexing with setup option needs to delete Elasticsearch index first, are you sure you want to delete your Elasticsearch index? [y/n] y
Success: Indexing posts…
Success: Mapping sent
Processed posts 0 - 20 of 20. Last Object ID: 72143
Success: Number of posts indexed: 20
Success: Sync complete
Total time elapsed: 00:00:00.920000
Success: Done!
[kidenoad@newserver public_html]$ wp wpml_elasticpress index --setup --post-type=post --post-lang=en
Indexing with setup option needs to delete Elasticsearch index first, are you sure you want to delete your Elasticsearch index? [y/n] y
Success: Indexing posts…
Success: Mapping sent
Processed posts 0 - 20 of 20. Last Object ID: 72650
Success: Number of posts indexed: 20
Success: Sync complete
Total time elapsed: 00:00:00.653000
Success: Done!
[kidenoad@newserver public_html]$ wp wpml_elasticpress index --setup --post-type=post --post-lang=ru
Indexing with setup option needs to delete Elasticsearch index first, are you sure you want to delete your Elasticsearch index? [y/n] y
Success: Indexing posts…
Success: Mapping sent
Processed posts 0 - 20 of 20. Last Object ID: 188683
Success: Number of posts indexed: 20
Success: Sync complete
Total time elapsed: 00:00:00.847000
Success: Done!

March 9, 2023 at 10:47 am #13205869

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Thank you for contacting WPML support!

If you disable WPML and try indexing, how many results are returned?

Also can you check how many posts do you have in other languages?

Regards,
Bruno Kos

March 9, 2023 at 2:19 pm #13208137

louisN-4

over 30k in each language

but in the meanwhile i have managed to do sync from the wordpress admin and it got to 100% after several hours on all posts

March 9, 2023 at 2:51 pm #13208499

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

So it means that the issue is resolved, or?

Regards,
Bruno Kos