def METHOD_NAME(self):
    return {
        "rank": self.rank,
        "implicit_prefs": self.implicit_prefs,
        "seed": self._seed,
        "index_builder": self.index_builder.init_meta_as_dict() if self.index_builder else None,
    }