[英]Does Weaviate support bulk query?
Data is indexed against a class in weaviate, I have used vectorizer equals none while creating the class (As the app is providing embeddings).数据在 weaviate 中针对 class 建立索引,我在创建 class 时使用了 vectorizer equals none(因为应用程序提供了嵌入)。 My query is, is there a way I can perform bulk query.
我的问题是,有没有一种方法可以执行批量查询。 Example: I need to search for 15 inputs, instead of looping over and querying 15 times, is there a way this can be done in one-shot?
示例:我需要搜索 15 个输入,而不是循环查询 15 次,有没有一种方法可以一次性完成?
You can use batching: https://weaviate.io/developers/weaviate/current/restful-api-references/batch.html .您可以使用批处理: https://weaviate.io/developers/weaviate/current/restful-api-references/batch.html 。
If you're using the Python client, see these docs: https://weaviate-python-client.readthedocs.io/en/latest/weaviate.batch.html#weaviate.batch.Batch .如果您使用的是 Python 客户端,请参阅以下文档: https://weaviate-python-client.readthedocs.io/en/latest/weaviate.batch.html#weaviate.batch.Batch 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.