Skip to content

Commit

Permalink
enhance: [2.4] Hide buggy search iterator interface (#837)
Browse files Browse the repository at this point in the history
Current implementation is buggy and not ready for prod. Hide it until
fixed.

Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Oct 23, 2024
1 parent 54663ca commit 9cc0d6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9cc0d6c

Please sign in to comment.