Skip to content

Commit

Permalink
Enhance search result (#1727)
Browse files Browse the repository at this point in the history
1. Removed ChunkedQueryResult
2. Make SearchResult iterable, list-like, slicable

See also: #1708

Signed-off-by: yangxuan <[email protected]>
  • Loading branch information
XuanYang-cn authored Oct 19, 2023
1 parent 1bd1215 commit e0dbac2
Show file tree
Hide file tree
Showing 13 changed files with 544 additions and 732 deletions.
5 changes: 3 additions & 2 deletions pymilvus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
RemoteBulkWriter,
)
from .client import __version__
from .client.abstract import Hit, Hits, SearchResult
from .client.asynch import SearchFuture
from .client.prepare import Prepare
from .client.stub import Milvus
from .client.types import (
Expand All @@ -48,12 +50,11 @@
from .orm import db, utility
from .orm.collection import Collection
from .orm.connections import Connections, connections
from .orm.future import MutationFuture, SearchFuture
from .orm.future import MutationFuture
from .orm.index import Index
from .orm.partition import Partition
from .orm.role import Role
from .orm.schema import CollectionSchema, FieldSchema
from .orm.search import Hit, Hits, SearchResult
from .orm.utility import (
create_resource_group,
create_user,
Expand Down
Loading

0 comments on commit e0dbac2

Please sign in to comment.