[DOCS] Fix ES|QL function and commands lists versioning metadata#143402
[DOCS] Fix ES|QL function and commands lists versioning metadata#143402leemthompo merged 2 commits intoelastic:mainfrom
Conversation
Audit all _snippets/lists/ files against Java @FunctionAppliesTo annotations. Adds missing applies_to tags, corrects wrong versions, and applies cumulative preview→ga tags where functions graduated. Also adds missing applies_to front matter to time-series-aggregation-functions.md landing page.
🔍 Preview links for changed docs |
ℹ️ Important: Docs version tagging👋 Thanks for updating the docs! Just a friendly reminder that our docs are now cumulative. This means all 9.x versions are documented on the same page and published off of the main branch, instead of creating separate pages for each minor version. We use applies_to tags to mark version-specific features and changes. Expand for a quick overviewWhen to use applies_to tags:✅ At the page level to indicate which products/deployments the content applies to (mandatory) What NOT to do:❌ Don't remove or replace information that applies to an older version 🤔 Need help?
|
| @@ -1,10 +1,10 @@ | |||
| * Dense vector functions | |||
There was a problem hiding this comment.
@carlosdelest can you confirm that these functions are properly tagged in the changes to this list?
Also want to make sure those features are GA on serverless before merging this PR. Thanks!
There was a problem hiding this comment.
That looks correct @leemthompo ! Yep, those features are GA on serverless. 👍
Thanks for checking!
| * [`URL_DECODE`](../../functions-operators/string-functions/url_decode.md) {applies_to}`stack: ga 9.2` | ||
| * [`URL_ENCODE`](../../functions-operators/string-functions/url_encode.md) {applies_to}`stack: ga 9.2` | ||
| * [`URL_ENCODE_COMPONENT`](../../functions-operators/string-functions/url_encode_component.md) {applies_to}`stack: ga 9.2` |
| * [`MV_AVG`](../../functions-operators/mv-functions/mv_avg.md) | ||
| * [`MV_CONCAT`](../../functions-operators/mv-functions/mv_concat.md) | ||
| * [`MV_CONTAINS`](../../functions-operators/mv-functions/mv_contains.md) {applies_to}`stack: preview` {applies_to}`serverless: preview` | ||
| * [`MV_CONTAINS`](../../functions-operators/mv-functions/mv_contains.md) {applies_to}`stack: preview 9.2` {applies_to}`serverless: preview` |
There was a problem hiding this comment.
@mjmbischoff can you confirm this list is now correct?
|
Pinging @elastic/core-docs (Team:Docs) |
…cations * upstream/main: (56 commits) Mute org.elasticsearch.compute.lucene.read.ValueSourceReaderTypeConversionTests testLoadAll elastic#143471 [DOCS] Fix ES|QL function and commands lists versioning metadata (elastic#143402) Fix MMROperatorTests (elastic#143453) Fix CSV-escaped quotes in generated docs examples (elastic#143449) Fix SQL client parsing of array header values (elastic#143408) ESQL: Add extended distribution tests and fault injection for external sources (elastic#143420) ESQL: Fix datasource test failures on Windows and FIPS (elastic#143417) Add circuit breaker for query construction to prevent OOM from automaton-based queries (elastic#142150) Cleanup SpecIT logging configuration (elastic#143365) ESQL: Prune unused regex extract nodes in optimizer (elastic#140982) Ensure supported locale outside of Entitlements check (elastic#143405) feat(es|ql): add dense_vector support in coalesce (elastic#142974) [Test] Unmute SnapshotStressTestsIT (elastic#143359) Mute org.elasticsearch.xpack.esql.CsvIT test {csv-spec:lookup-join.LookupJoinWithCoalesceFilterOnRight} elastic#143443 Mute org.elasticsearch.xpack.esql.CsvIT test {csv-spec:lookup-join.MvJoinKeyOnTheLookupIndex} elastic#143442 ESQL: Fix CCS exchange sink cleanup (elastic#143325) Mute org.elasticsearch.xpack.esql.CsvIT test {csv-spec:lookup-join.MvJoinKeyOnTheLookupIndexAfterStats} elastic#143434 Mute org.elasticsearch.xpack.esql.CsvIT test {csv-spec:lookup-join.MvJoinKeyFromRow} elastic#143432 Mute org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT test {csv-spec:k8s-timeseries.Datenanos_derivative_compared_to_rate} elastic#143431 Mute org.elasticsearch.multiproject.test.CoreWithMultipleProjectsClientYamlTestSuiteIT test {yaml=search.retrievers/result-diversification/10_mmr_result_diversification_retriever/Test MMR result diversification single index float type} elastic#143430 ...
…stic#143402) * Fix ES|QL function list versioning metadata Audit all _snippets/lists/ files against Java @FunctionAppliesTo annotations. Adds missing applies_to tags, corrects wrong versions, and applies cumulative preview→ga tags where functions graduated. Also adds missing applies_to front matter to time-series-aggregation-functions.md landing page. * update tags on commands lists
…stic#143402) * Fix ES|QL function list versioning metadata Audit all _snippets/lists/ files against Java @FunctionAppliesTo annotations. Adds missing applies_to tags, corrects wrong versions, and applies cumulative preview→ga tags where functions graduated. Also adds missing applies_to front matter to time-series-aggregation-functions.md landing page. * update tags on commands lists
…stic#143402) * Fix ES|QL function list versioning metadata Audit all _snippets/lists/ files against Java @FunctionAppliesTo annotations. Adds missing applies_to tags, corrects wrong versions, and applies cumulative preview→ga tags where functions graduated. Also adds missing applies_to front matter to time-series-aggregation-functions.md landing page. * update tags on commands lists
Makes sure the lists of functions and commands are up to date versioning and availability wise
tl:dr
Methodology
_snippets/lists/@FunctionInfo/@FunctionAppliesToannotation system in Java:FunctionInfo.java— annotation on function constructors; haspreview = trueandappliesTo[]fieldsFunctionAppliesTo.java—lifeCycle(PREVIEW, GA, DEVELOPMENT, COMING, ...) andversionfieldsgrepacross allx-pack/plugin/esql/src/main/java/forpreview = trueandappliesToto get a complete list of every function with non-default lifecycle metadataNot covered / out of scope
NETWORK_DIRECTION: haspreview = truein Java but is not listed inip-functions.md(presumably intentionally unlisted)TO_DATE_RANGE: haspreview = truein Java but is not listed intype-conversion-functions.mdMULTI_MATCH: hasCOMINGlifecycle in Java and is not listed in any list fileV_MAGNITUDE:DEVELOPMENTlifecycle in Java, correctly commented out (%) in the list.mdpages: function pages are generated (viaDocsV3Support.javafrom@FunctionInfoannotations), so theirapplies_tofront matter is kept in sync automatically and was not audited