Skip to content

Conversation

carlosdelest
Copy link
Member

This PR adds documentation for MATCH default values

@carlosdelest carlosdelest added >docs General docs changes Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) auto-backport Automatically create backport pull requests when merged :Analytics/ES|QL AKA ESQL v9.0.0 v8.18.0 v8.19.0 v9.1.0 labels Mar 20, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@elasticsearchmachine elasticsearchmachine added the Team:Docs Meta label for docs team label Mar 20, 2025
@elasticsearchmachine
Copy link
Collaborator

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

type = "keyword",
valueHint = { "none", "all" },
description = "Number of beginning characters left unchanged for fuzzy matching."
description = "Number of beginning characters left unchanged for fuzzy matching. Defaults to none."
Copy link
Contributor

@ioanatia ioanatia Mar 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not the right doc string for zero_terms_query - it seems to be a copy of the one we have for prefix_length.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch! Fixed in a6bb85d

@carlosdelest
Copy link
Member Author

@elasticmachine update branch

@leemthompo
Copy link
Contributor

@carlosdelest The annoying thing about the docs migration is that we can't backport docs changes from main/9.0 to 8.x anymore and will have to make those changes in a separate PR, because it's asciidoc all the way down on 8.x

@leemthompo
Copy link
Contributor

But maybe can backport manually, delete the .md files and use the updated java code to generate the asciidoc changes? @craigtaverner would that work?

@craigtaverner
Copy link
Contributor

But maybe can backport manually, delete the .md files and use the updated java code to generate the asciidoc changes? @craigtaverner would that work?

Yes. The manual backport to 8.x should start with only the changes to Match.java and then re-run MatchTests to re-generate the asciidoc versions of the documentation, and then commit those.

Just to confirm, automatic backporting any PR between main and 8.x will fail (or should fail) if it includes any documentation changes.

@carlosdelest
Copy link
Member Author

@craigtaverner @leemthompo Yes, the plan was to do a manual regeneration of the docs on the 8.x branches 👍

@carlosdelest carlosdelest merged commit 160ac69 into elastic:main Mar 21, 2025
16 checks passed
carlosdelest added a commit to carlosdelest/elasticsearch that referenced this pull request Mar 21, 2025
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
9.0
8.18 Commit could not be cherrypicked due to conflicts
8.x Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 125282

afoucret pushed a commit to afoucret/elasticsearch that referenced this pull request Mar 21, 2025
carlosdelest added a commit to carlosdelest/elasticsearch that referenced this pull request Mar 21, 2025
(cherry picked from commit 160ac69)

# Conflicts:
#	docs/reference/query-languages/esql/_snippets/functions/functionNamedParams/match.md
@carlosdelest
Copy link
Member Author

💔 Some backports could not be created

Status Branch Result
8.x
8.18 An unhandled error occurred. Please see the logs for details

Manual backport

To create the backport manually run:

backport --pr 125282

Questions ?

Please refer to the Backport tool documentation

@carlosdelest
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
8.18

Questions ?

Please refer to the Backport tool documentation

carlosdelest added a commit to carlosdelest/elasticsearch that referenced this pull request Mar 21, 2025
(cherry picked from commit 160ac69)

# Conflicts:
#	docs/reference/query-languages/esql/_snippets/functions/functionNamedParams/match.md
elasticsearchmachine pushed a commit that referenced this pull request Mar 21, 2025
(cherry picked from commit 160ac69)

# Conflicts:
#	docs/reference/query-languages/esql/_snippets/functions/functionNamedParams/match.md
elasticsearchmachine pushed a commit that referenced this pull request Mar 21, 2025
(cherry picked from commit 160ac69)

# Conflicts:
#	docs/reference/query-languages/esql/_snippets/functions/functionNamedParams/match.md
smalyshev pushed a commit to smalyshev/elasticsearch that referenced this pull request Mar 21, 2025
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL auto-backport Automatically create backport pull requests when merged backport pending >docs General docs changes Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:Docs Meta label for docs team v8.18.0 v8.19.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants