Mass updating documents

Hey guys,

I have ~26m documents and need to update a certain field to 1 set value on
~1m documents.

What are my options to update all these instead of searching for them all,
then updating 1 by 1?

Thanks for any help,
Darren

--