Elastic vector tile api - 请求正文中的字段通配符

Elastic vector tile api - field wildcard in request body

我有相应命名的某些字段:attr_name、attr_type、...我希望它们全部嵌入到矢量图块的命中层中。 看完docs后,我会用通配符组成正文如下

{
  "fields": ["attr_*"]
}

不过那个returnsnone的字段。我做错了什么?

您没有做错任何事,不幸的是,这似乎是一个错误,通配符在此 API 中不起作用。我已经打开了一个问题来解决它:

https://github.com/elastic/elasticsearch/issues/85592