def process(ids, catalogs, limit):
    """Process up to limit objects, returning the number processed

        The first argument is an object with a getObject(id) method.

        Catalogs is a multi-iterable collection of
        zope.index.interfaces.IInjection objects to be updated.
        """
