From 9cc0d6cbd893dff567a8b23818f7d9c98c4e8cc0 Mon Sep 17 00:00:00 2001 From: congqixia Date: Wed, 23 Oct 2024 19:23:20 +0800 Subject: [PATCH] enhance: [2.4] Hide buggy search iterator interface (#837) Current implementation is buggy and not ready for prod. Hide it until fixed. Signed-off-by: Congqi Xia --- client/client.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 9330a0c5..b1847265 100644 --- a/client/client.go +++ b/client/client.go @@ -154,8 +154,10 @@ type Client interface { Query(ctx context.Context, collectionName string, partitionNames []string, expr string, outputFields []string, opts ...SearchQueryOptionFunc) (ResultSet, error) // Get grabs the inserted entities using the primary key from the Collection. Get(ctx context.Context, collectionName string, ids entity.Column, opts ...GetOption) (ResultSet, error) + // TODO @silverxia current imlementation is buggy and cannot be released + // hide interface until fixed // SearchIterator returns knn result in iterator mode. - SearchIterator(ctx context.Context, opt *SearchIteratorOption) (*SearchIterator, error) + // SearchIterator(ctx context.Context, opt *SearchIteratorOption) (*SearchIterator, error) // QueryIterator returns data matches provided criterion in iterator mode. QueryIterator(ctx context.Context, opt *QueryIteratorOption) (*QueryIterator, error)