If you know the use of $et attribute how to use in Java then its quite easy to remove a field from the document too. MongoDB provided another attribute$unset which is quite opposite to $set.So just use$unset with empty value your field will automatically remove.