For the record, I was never satisfied with this. It's kind of a weird thing for extract_document to kick up an UnindexMeBro exception. Plus if there's a significant number of things you don't want indexed, then this spends a lot of time not indexing them. I'm game for other ideas. Maybe passing the id list through a should_index filter first?