Azure-Samples/azure-search-dotnet-samples

How to Iterate through an Azure Index with more than 100,000 docs

njloki30 opened this issue · 1 comments

The MS documentation says :
If your index has more than 100,000 documents, this sample, as written, will not work. This is because the REST API $skip feature, that is used for paging, has a 100K document limit. However, you can work around this limitation by adding code to iterate over, and filter on, a facet with less that 100K documents per facet value.

Can someone provide an example on how I would implement this loop to iterate through an index that has more than 100K docs?

Can you ask this question on stack overflow? Here's a link: https://stackoverflow.com/questions/tagged/azure-cognitive-search