mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-04 19:02:58 +00:00
update
This commit is contained in:
@@ -1272,7 +1272,7 @@ class LanceTable(Table):
|
||||
and also the "_distance" column which is the distance between the query
|
||||
vector and the returned vector.
|
||||
"""
|
||||
is_query_defined = query is not None or (vector is not None and text is not None)
|
||||
is_query_defined = query is not None or vector is not None or text is not None
|
||||
if vector_column_name is None and is_query_defined:
|
||||
vector_column_name = inf_vector_column_query(self.schema)
|
||||
register_event("search_table")
|
||||
|
||||
Reference in New Issue
Block a user