* GH-10968 Migrate 'Post.GetPostsBatchForIndexing' to Sync by default * Fix indentation and check return value