Best approaching for adding custom Indexes?

Ah, that explains why the indexes are vanishing. I’ve been trying to develop my service at the same time so I’ve created them and then it’s restarting whenever I save a change to the code.

At least in production I can optimise with a compound index later.