Skip to content

Handle batch with no indexable posts#147

Merged
jakewrfoster merged 2 commits intomasterfrom
feature/no-posts-should-index-in-batch
May 25, 2021
Merged

Handle batch with no indexable posts#147
jakewrfoster merged 2 commits intomasterfrom
feature/no-posts-should-index-in-batch

Conversation

@jakewrfoster
Copy link
Copy Markdown
Member

Add handling for the case in which no posts "should be indexed" within a batch index operation. This PR effectively allows SearchPress to skip making a bulk index request if a complete batch of posts is marked as "should not index".

Copy link
Copy Markdown
Contributor

@mboynes mboynes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SP technically works down to PHP 5.3, I don't see a reason to break that now. otherwise, good to go!

Co-authored-by: Matthew Boynes <mboynes+git@alley.co>
@jakewrfoster jakewrfoster merged commit cabc670 into master May 25, 2021
@jakewrfoster jakewrfoster deleted the feature/no-posts-should-index-in-batch branch May 25, 2021 20:39
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

Successfully merging this pull request may close these issues.

2 participants