c# - Elastic Search with NEST - Async Operations -


looking example of using nest async function -

i want index large number of records, maybe 100000. so, use indexmanyasync, don't know enough async. indexmanyasync returns task. looking example of how implement this.

the non-async way going was: take 50 records, index, take next 50 records, index, etc...

with async, should call indexmanyasync once records? or still 50 @ time? call method, task back, call task.start? make collection of tasks run @ once? etc...

looking guidance...

there example of using indexmanyasync in nest profiling.indexing.tester.cs class in source repository. should started in right direction.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -