def METHOD_NAME(obj, path):
    __traceback_info__ = path
    # skip non-indexable types
    if not self.supports_indexing(obj):
        return
    # get the porta type of this object
    portal_type = self.get_portal_type(obj)
    try:
        # only consider mapped types if we have them set
        if self.is_obj_indexable(obj, portal_type, mapped_types):
            self._reindexObject(obj, idxs=idxs)  # bypass queue
            self.log_progress()
    except TypeError:
        # Catalogs have 'indexObject' as well, but they
        # take different args, and will fail
        pass