• Resolved Jogash Ray

    (@jogashst)


    Hi,
    Indexing sync is working properly for small sites where having almost 20k posts, but for large number of posts such as 110k posts is not indexing properly, getting error after completing 25%~35% .

    Error: Error establishing a database connection
    https://i.imgur.com/NLLOXN4.png

    I used the following command to index using wp cli:
    wp elasticpress sync

    Any suggestions.
    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Felipe Elia

    (@felipeelia)

    It seems your database is not handling the number of posts being processed per batch. You can try to run the command with a lower number:

    wp elasticpress sync --show-errors --per-page=100

    Give that a try, it’ll probably solve the problem.

    As?we don’t provide support here, if you have any follow-up questions, please open an issue in our?GitHub repository. Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Indexing sync is not working properly for large number posts’ is closed to new replies.