elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.55k stars 24.61k forks source link

ES|QL: make use of FunctionInfo.preview on the documentation side #112755

Open astefan opened 6 days ago

astefan commented 6 days ago

Description

Functions' FunctionInfo annotation has a preview component for functions that are still in preview/snapshot. But, this is not reflected in how the documentation is generated (if a function is in preview/snapshot-only mode it should be in the docs) nor is how this part is exposed to Kibana. We should look into:

elasticsearchmachine commented 6 days ago

Pinging @elastic/es-analytical-engine (Team:Analytics)

luigidellaquila commented 5 days ago

Snapshot functions are not in the docs (neither in Kibana JSON docs), so I guess the only information we need is the "preview".

Separately, if we also want Kibana to receive Snapshot functions, we can add another information, but they are two distinct things.