问题描述
我正在做一项工作,以检查数据库中的所有记录是否都在Azure搜索上(大约610k).但是$ skip参数有100000个限制.有办法解决这个限制吗?
I'm doing a job to check if all records from my database exists on Azure Search (around 610k). However there's a 100000 limit with the $skip parameter. Is there a way to work around this limit?
推荐答案
您不能多谢10万多个文档,但是,您可以添加多方面来解决此问题.例如,假设您有一个称为国家/地区"的构面,并且没有一个构面超过10万个文档.您可以在国家/地区" =加拿大"的所有文档中查看,然后在国家/地区" ==美国"的所有文档中查看,等等……
You can not facet over more thank 100K documents, however, you can add facets to work around this. For example, let’s say you have a facet called Country and no one facet has more than 100K documents. You can facet over all documents where Country == ‘Canada’, then facet over all documents where Country == ‘USA’, etc…
这篇关于天蓝色搜索工作在$ skip限制附近的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!