Create mongo index.