In both Yosemite and now El Capitan, some smart mailboxes never develop content. Mind you, its not all of them either, just some. I have gone through the rebuild function and also the complete reindex/reimport of messages. Still no success.
In my example I am searching for the sender's name (contains) and that seems pretty simple. But none of the mail is visible in the smart mailbox. Very strange...
Michael