add index that's compatible with cloudant search + cleanup