test/python/testscoring.py
def testSave(self):
        """
        Test scoring index save/load
        """

        # Generate temp file path
        index = os.path.join(tempfile.gettempdir(), "bm25")
        os.makedirs(index, exist_ok=True)

        model = self.method("bm25")
        model.save(index)
        model.load(index)

        Test scoring index save/load
        
Test scoring index save/load
Test scoring index save / load
def testSave(self):
        index = os.path.join(tempfile.gettempdir(), "bm25")
        os.makedirs(index, exist_ok=True)
        model = self.method("bm25")
        model.save(index)
        model.load(index)
def testSave ( self ) : index = os . path . join ( tempfile . gettempdir ( ) , "bm25" ) os . makedirs ( index , exist_ok = True ) model = self . method ( "bm25" ) model . save ( index ) model . load ( index )
Test scoring index save/load
Test scoring index save / load
"""
        Test scoring index save/load
        """ # Generate temp file path
self