It was possible to set a seed without setting a field, but this has been deprecated as this requires loading fielddata on the _id field which consumes a lot of memory.
We need to have optional parameter field at addRandomFunction method, as deprecated case and required field in the future major releases of library.