scout-elasticsearch-driver icon indicating copy to clipboard operation
scout-elasticsearch-driver copied to clipboard

Allow specification of elements other than body

Open soranoba opened this issue 5 years ago • 0 comments
trafficstars

There are some parameters that we can specify in Elasticsearch\Client but not in this library. e.g. one of the strategies to improve performance is to limit the shards by specifying routing, but it cannot with this library.

This PR provides a way to specify these in case of using SingleIndexer. I think that it is difficult to specify in the case of using BulkIndexer, so it do not support it at this time.

I welcome editing of this PR by maintainers. Thanks.

soranoba avatar Apr 19 '20 08:04 soranoba