天蓝色搜索工作在$ skip限制附近 [英] azure search work around $skip limit

查看:40
本文介绍了天蓝色搜索工作在$ skip限制附近的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一项工作,以检查数据库中的所有记录是否都在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限制附近的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆