Index not building on cloned site

I have copied our site to a dev setup, and I went to rebuild the index because I was not getting any search results… but the process always says:

Wiping out the index… Counting posts… 817 posts found.
Indexed 0 posts (total 0), processed 817 / 817.
Indexing complete. 817 posts excluded.

Why is it excluding all of my posts? Everything is properly indexed on the site this one is cloned from.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer