Skip to content

Commit

Permalink
Merge pull request #45 from Azure-Samples/dereklegenzoff-patch-1
Browse files Browse the repository at this point in the history
Small tweak to optimize-data-indexing program
  • Loading branch information
Derek Legenzoff authored Oct 7, 2020
2 parents e364220 + 77e3d87 commit 45af5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimize-data-indexing/v11/OptimizeDataIndexing/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ public static async Task Main(string[] args)
//List<Hotel> hotels = dg.GetHotels(numDocuments);

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

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

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

0 comments on commit 45af5b6

Please sign in to comment.