Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it's indexing all the posts where it should only index the published posts #65

Open
ztahir opened this issue May 10, 2020 · 2 comments
Open

Comments

@ztahir
Copy link

ztahir commented May 10, 2020

I am indexing 250k products. It get's really slow once the first 50k posts are indexed. It only index 100 records after every 22 seconds.
Secondly, i noticed that it is actually indexing all the posts where it should only index the the posts with post_status = 'published'

@Nomafin
Copy link
Contributor

Nomafin commented May 11, 2020

There should be no problem in indexing such vast amounts other than the fact that WordPress memory management isn't that great with so many posts.

RediPress is designed to replicate the whole posts table with all other post statuses than published as well, so that they can be queried if needed.

So far we don't have a way to run import in batches other than running wp redipress index first, then when it starts to get slow press ctrl+c to stop it and then wp redipress index posts missing so that it starts from where it was first stopped.

@fidoboy
Copy link

fidoboy commented Nov 12, 2023

What about the indexation of unpublished posts or excluding custom posts formats?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants