-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Milvus-doc-bot
authored and
Milvus-doc-bot
committed
Jan 16, 2025
1 parent
27ebcbd
commit a3340fe
Showing
3 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"codeList":["60 * 2 * 4 + 40 * 1 * 12 = 960\n","proxy:\n grpc:\n serverMaxRecvSize: 67108864 # The maximum size of each RPC request that the proxy can receive, unit: byte\n","proxy:\n grpc:\n serverMaxRecvSize: 67108864 # The maximum size of each RPC request that the proxy can receive, unit: byte\n"],"headingContent":"Product FAQ","anchorList":[{"label":"Product FAQ","href":"Product-FAQ","type":1,"isActive":false}]} | ||
{"codeList":["60 * 2 * 4 + 40 * 1 * 12 = 960\n","proxy:\n grpc:\n serverMaxRecvSize: 67108864 # The maximum size of each RPC request that the proxy can receive, unit: byte\n","proxy:\n grpc:\n serverMaxRecvSize: 67108864 # The maximum size of each RPC request that the proxy can receive, unit: byte\n","# set up iterator\niterator = client.query_iterator(\n collection_name=\"demo_collection\",\n output_fields=[\"target\"]\n)\n# do iteration and store target values into value_set \nvalue_set = set()\nwhile True:\n res = iterator.next()\n if len(res) == 0:\n print(\"query iteration finished, close\")\n iterator.close()\n break\n for i in range(len(res)):\n value_set.add(res[i][\"target\"])\n\n# value_set will contain unique values for target column \n"],"headingContent":"Product FAQ","anchorList":[{"label":"Product FAQ","href":"Product-FAQ","type":1,"isActive":false}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters