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

Add option to exclude certain post types from Yoast indexing #16652

Open
ovidiul opened this issue Feb 9, 2021 · 0 comments
Open

Add option to exclude certain post types from Yoast indexing #16652

ovidiul opened this issue Feb 9, 2021 · 0 comments

Comments

@ovidiul
Copy link
Contributor

ovidiul commented Feb 9, 2021

Is your feature request related to a problem? Please describe.

The problem we have currently is that one of our clients has a large dataset of post_type posts, about 500K and increasing, and an even larger set of post_type revision which is now at 1.2M, and so, when the Yoast indexing start to build initially, the total number of items is somewhere above 2 Million, at that takes days to finish with the current process.

Describe the solution you'd like

Would it be possible to not index the revision post_type, since that has a post_status of inherit, and for it to take any necessary data from the parent post?

It might actually be more useful to give the user the option to exclude certain post_types from the Yoast index, would you consider adding this feature?

Why do you think this feature is something we should consider for the Yoast SEO plugins?

It could help Yoast indexing be more efficient as to not index items that might not be needed.

Additional context

The initial problem was detailed here #16645 , and while that would help with the slow queries issue, we still have a large index runtime for sites with large data sets of posts.

Attached is a list of post_type grouped together, notice the revision ones take the most space, followed by attachments.

Screenshot 2021-02-09 at 15 46 52

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

No branches or pull requests

2 participants