take into account querybyexample's default to a batch size of 1000.