I'm trying to setup an Elasticsearch TestContainer that uses the mapper size plugin. I'm unsure how to go about this, particularly since the documentation notes that all Elasticsearch nodes must be restarted once a plugin is installed.
I'm aware of a similar question on this topic, but it isn't clear to me how to adapt the solution recommended there from the Java case to .NET (or whether this is possible at all).
I've tried using the ExecAsync
method with the plugin install command, but it does not appear to have any effect (i.e. subsequent attempts to make use of the _size
field fail). As I've mentioned, it's possible that a restart is required at this point, but it isn't clear to me how to effect this in the TestContainer either.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744984600a4604536.html
评论列表(0条)