英文:
Azure Cognitive Search Performance
问题
如果Azure认知搜索中的索引数据和模式保持不变,那么查询中存在额外的筛选器是否会影响延迟。请注意,由于查询中存在限制字段,存在/不存在并不会增加/减少返回的记录数量。
如果是的话,那么它会如何影响延迟。
英文:
If the index data and schema remains constant in Azure cognitive search, Does the latency gets impacted by the presence of an additional filter in the query. Note that Due to the presence of limit field in the query, the presence/non-presence does not increase/decrease the number of records being returned.
If yes, Then how does it impacts the latency.
答案1
得分: 1
过滤器可以根据您的数据集提高或降低延迟。
减少需要评分的文档总数的过滤器将提高性能,特别是在大型数据集中。然而,一些复杂的过滤器可能会降低性能,因为需要过滤文档的工作量。
建议根据您的数据集和过滤器执行自己的基准测试,以确定它对您的服务的延迟产生了什么影响。
英文:
Filters can improve or decrease latency depending on your dataset.
A filter which reduces the total number of documents that need to be scored will improve performance, especially in large datasets. However, some complex filters can decrease performance due to the work needed to filter out documents.
It is recommended to perform your own benchmarks given your dataset and filters to determine how it impacts latency for your service.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论