scout-elasticsearch-driver
scout-elasticsearch-driver copied to clipboard
Allow specification of elements other than body
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.