jprante / elasticsearch-knapsack

Knapsack plugin is an import/export tool for Elasticsearch
Apache License 2.0
472 stars 77 forks source link

How can I change the pull settting? #73

Open yanyan33333 opened 9 years ago

yanyan33333 commented 9 years ago

I saw in log that [2015-05-15 12:11:08,543][INFO ][BulkTransportClient ] before bulk [989] [actions=1000] [bytes=1490000] [concurrent requests=8] [2015-05-15 12:11:08,700][INFO ][BulkTransportClient ] after bulk [982] [succeeded=973057] [failed=0] [831ms] [concurrent requests=8] Can I change the actions or bytes at the beginning?How ?

jprante commented 9 years ago

You can set max_bulk_actions_per_request knapsack import parameter, default is 1000, or max_bulk_concurrency, default is 2 * number of CPU cores. The bytes is only a counter for statistical purpose.

yanyan33333 commented 9 years ago

thx~