ensureIndex support