MCPcopy Create free account
hub / github.com/antgroup/vsag / FactoryIndex

Method FactoryIndex

tests/python/test_base.py:26–28  ·  view source on GitHub ↗

Factory method to create index for testing

(index_type: str, index_param: str)

Source from the content-addressed store, hash-verified

24
25 @staticmethod
26 def FactoryIndex(index_type: str, index_param: str) -> pyvsag.Index:
27 """Factory method to create index for testing"""
28 return pyvsag.Index(index_type, index_param)
29
30 @staticmethod
31 def BuildIndex(index: pyvsag.Index, dataset: TestDataset):

Callers 5

init_indexMethod · 0.80
init_indexMethod · 0.80
init_indexMethod · 0.80
test_base.pyFile · 0.80
init_indexMethod · 0.80

Calls 1

IndexMethod · 0.45

Tested by

no test coverage detected