[ES|QL] Update function metadata (#224565)

This PR updates the function definitions and inline docs based on the
latest metadata from Elasticsearch.
This commit is contained in:
Kibana Machine 2025-06-19 16:35:27 +02:00 committed by GitHub
parent 40dccf51a2
commit 84874cb2b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 5 deletions

View file

@ -62,7 +62,7 @@ export const functions = {
label: i18n.translate('languageDocumentation.documentationESQL.categorize', {
defaultMessage: 'CATEGORIZE',
}),
preview: true,
preview: false,
description: (
<Markdown
openLinksInNewTab

View file

@ -359,7 +359,8 @@ export const functions = {
Use \`LIKE\` to filter data based on string patterns using wildcards. \`LIKE\`
usually acts on a field placed on the left-hand side of the operator, but it can
also act on a constant (literal) expression. The right-hand side of the operator
represents the pattern.
represents the pattern or a list of patterns. If a list of patterns is provided,
the expression will return true if any of the patterns match.
The following wildcard characters are supported:

View file

@ -1532,7 +1532,7 @@ const categorizeDefinition: FunctionDefinition = {
description: i18n.translate('kbn-esql-validation-autocomplete.esql.definitions.categorize', {
defaultMessage: 'Groups text messages into categories of similarly formatted text values.',
}),
preview: true,
preview: false,
alias: undefined,
signatures: [
{

View file

@ -3175,7 +3175,7 @@ const likeDefinition: FunctionDefinition = {
name: 'like',
description: i18n.translate('kbn-esql-validation-autocomplete.esql.definitions.like', {
defaultMessage:
'Use `LIKE` to filter data based on string patterns using wildcards. `LIKE`\nusually acts on a field placed on the left-hand side of the operator, but it can\nalso act on a constant (literal) expression. The right-hand side of the operator\nrepresents the pattern.\n\nThe following wildcard characters are supported:\n\n* `*` matches zero or more characters.\n* `?` matches one character.',
'Use `LIKE` to filter data based on string patterns using wildcards. `LIKE`\nusually acts on a field placed on the left-hand side of the operator, but it can\nalso act on a constant (literal) expression. The right-hand side of the operator\nrepresents the pattern or a list of patterns. If a list of patterns is provided,\nthe expression will return true if any of the patterns match.\n\nThe following wildcard characters are supported:\n\n* `*` matches zero or more characters.\n* `?` matches one character.',
}),
preview: false,
alias: undefined,
@ -4432,7 +4432,7 @@ const notLikeDefinition: FunctionDefinition = {
name: 'not like',
description: i18n.translate('kbn-esql-validation-autocomplete.esql.definitions.not_like', {
defaultMessage:
'Use `LIKE` to filter data based on string patterns using wildcards. `LIKE`\nusually acts on a field placed on the left-hand side of the operator, but it can\nalso act on a constant (literal) expression. The right-hand side of the operator\nrepresents the pattern.\n\nThe following wildcard characters are supported:\n\n* `*` matches zero or more characters.\n* `?` matches one character.',
'Use `LIKE` to filter data based on string patterns using wildcards. `LIKE`\nusually acts on a field placed on the left-hand side of the operator, but it can\nalso act on a constant (literal) expression. The right-hand side of the operator\nrepresents the pattern or a list of patterns. If a list of patterns is provided,\nthe expression will return true if any of the patterns match.\n\nThe following wildcard characters are supported:\n\n* `*` matches zero or more characters.\n* `?` matches one character.',
}),
preview: false,
alias: undefined,