You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To allow SearchSource consumers like Discover to support runtime fields (#77107), SearchSource needs to allow usage of the search-fields API of Elasticsearch
In the POC of #75407 this was solved by introducing a new SearchSource fields called fieldsApi, but this should be solved in a developer friendly, documented and tested way, not as a workaround.
The text was updated successfully, but these errors were encountered:
To allow
SearchSource
consumers like Discover to support runtime fields (#77107),SearchSource
needs to allow usage of the search-fields API of Elasticsearchhttps://www.elastic.co/guide/en/elasticsearch/reference/master/search-fields.html
In the SearchSource source code
fields
is already taken:kibana/src/plugins/data/public/search/search_source/types.ts
Line 64 in 61951a5
And this
fields
targetstored_fields
, this can't just be switched to the ES searchfields
, since it's not compatible.kibana/src/plugins/data/public/search/search_source/search_source.ts
Lines 494 to 505 in 61951a5
In the POC of #75407 this was solved by introducing a new SearchSource fields called
fieldsApi
, but this should be solved in a developer friendly, documented and tested way, not as a workaround.The text was updated successfully, but these errors were encountered: