Confused about querying using the search api

I've chopped down my problem and submitted a better question here: Disappearing data.