specify metric during index creation

This commit is contained in:
Chang She
2023-04-24 22:45:37 -07:00
parent b0e578c609
commit 72a44eb927
3 changed files with 7 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ class LanceQueryBuilder:
"""
def __init__(self, table: "lancedb.table.LanceTable", query: np.ndarray):
self._metric = "l2"
self._metric = "L2"
self._nprobes = 20
self._refine_factor = None
self._table = table