You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seems something changed with the query_iterator in the new release,
now I don't get all the docs, it just returns me the first batch
Expected Behavior
expected I should get all the docs like it was working before the new release.
Steps/Code To Reproduce behavior
from pymilvus import connections, Collection
connections.connect(
uri="http://localhost:19530",
token="root:Milvus"
)
collection = Collection("query_collection")
iterator = collection.query_iterator(
batch_size=10,
expr="color like \"red%\"",
output_fields=["color"]
)
results = []
while True:
result = iterator.next()
if not result:
iterator.close()
break
print(result)
results += result
same snippet as in the docs
Environment details
- Hardware/Softward conditions (OS, CPU, GPU, Memory):
- Method of installation (Docker, or from source): docker
- Milvus version (v0.3.1, or v0.4.0): 2.5.0
- Milvus configuration (Settings you made in `server_config.yaml`):
Anything else?
no
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the bug
seems something changed with the query_iterator in the new release,
now I don't get all the docs, it just returns me the first batch
Expected Behavior
expected I should get all the docs like it was working before the new release.
Steps/Code To Reproduce behavior
Environment details
Anything else?
no
The text was updated successfully, but these errors were encountered: