Automatically alter MongoDB indices using Morphia
Altering a MongoDB index cannot be done out-of-the-box. If you are tired of dropping and creating indices by hand, have a look at this little hack.
Andreas Günzel