Add more detailed docs for the ANN index and search features

This commit is contained in:
Chang She
2023-04-24 19:19:55 -07:00
parent 177192f852
commit 4f2dae8a0d
3 changed files with 34 additions and 13 deletions

View File

@@ -166,6 +166,9 @@ class LanceTable:
Returns
-------
A LanceQueryBuilder object representing the query.
Once executed, the query returns selected columns, the vector,
and also the "score" column which is the distance between the query
vector and the returned vector.
"""
if isinstance(query, list):
query = np.array(query)