module Jekyll::Algolia::Indexer

def self.remote_object_ids_from_dedicated_index

will fit in one call each time.
Note: This will be very fast. Each record contain 100 object id, so it

index
Public: Get an array of all the object ids, stored in the dedicated
def self.remote_object_ids_from_dedicated_index
  list = []
  begin
    index_object_ids.browse(
      attributesToRetrieve: 'content',
      hitsPerPage: 1000
    ) do |hit|
      list += hit['content']
    end
  rescue StandardError
    return []
  end
  list.sort
end