elasticsearch - Get the operation count added in Nest.BulkDescriptor according to type of bulk operations -



elasticsearch - Get the operation count added in Nest.BulkDescriptor according to type of bulk operations -

i require operation count within bulkdescriptor object created mass operation in nest. correctly no alternative same information.

e.g

bulkdescriptor bulkdescriptor = new bulkdescriptor(); bulkdescriptor.index<my_objects>(op => op.document(pobj).index(elasticsearchindexname).type("my_objects_document"));

after addding document indexed need count of indexed operation before phone call

nest.elasticclient elasclient = new nest.elasticclient(elasticconn); ibulkresponse ibulkresp = elasclient.bulk(bulkdescriptor);

thanks, amal

you can count of operations this:

var count = (bulkdescriptor ibulkrequest).operations.count;

elasticsearch nest

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -