Skip to content

Commit 45af5b6

Browse files
author
Derek Legenzoff
authored
Merge pull request #45 from Azure-Samples/dereklegenzoff-patch-1
Small tweak to optimize-data-indexing program
2 parents e364220 + 77e3d87 commit 45af5b6

File tree

1 file changed

+2
-2
lines changed
  • optimize-data-indexing/v11/OptimizeDataIndexing

1 file changed

+2
-2
lines changed

optimize-data-indexing/v11/OptimizeDataIndexing/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public static async Task Main(string[] args)
4343
//List<Hotel> hotels = dg.GetHotels(numDocuments);
4444

4545
//Console.WriteLine("{0}", "Uploading using exponential backoff...\n");
46-
//await ExponentialBackoff.IndexDataAsync(indexClient, hotels, 1000, 8);
46+
//await ExponentialBackoff.IndexDataAsync(searchClient, hotels, 1000, 8);
4747

4848
//Console.WriteLine("{0}", "Validating all data was indexed...\n");
49-
//await ValidateIndexAsync(searchService, indexName, numDocuments);
49+
//await ValidateIndexAsync(indexClient, indexName, numDocuments);
5050

5151
Console.WriteLine("{0}", "Complete. Press any key to end application...\n");
5252
Console.ReadKey();

0 commit comments

Comments
 (0)