Docs: expand ES|QL LIKE backslash escaping#144889
Conversation
Clarify * and ? wildcards, literal backslash and Windows paths, JSON/cURL escaping layers, and add csv-spec + generated snippet. Made-with: Cursor
Avoid """ inside Java text blocks (terminates delimiter). Regenerate detailedDescription/like.md via WildcardLikeTests. Made-with: Cursor
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
🔍 Preview links for changed docs⏳ Building and deploying preview... View progress This comment will be updated with preview links when the build is complete. |
ℹ️ 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?
|
luigidellaquila
left a comment
There was a problem hiding this comment.
Thanks @wchaparro, LGTM
Fixes #119081
WildcardLike@FunctionInfo.detailedDescription: correct*/?wildcards, literal backslashes, Windows paths, and JSON/cURL escaping layers (without embedding"""inside a Java text block).likeEscapingBackslashWindowsPathtostring.csv-specand wire it into the LIKE docs viaload-esql-example.docs/reference/query-languages/esql/_snippets/operators/detailedDescription/like.md.Tests:
./gradlew :x-pack:plugin:esql:test --tests org.elasticsearch.xpack.esql.expression.function.scalar.string.WildcardLikeTestsand./gradlew :x-pack:plugin:esql:test --tests '*CsvTests*likeEscapingBackslashWindowsPath*'.Made with Cursor