Skip to content

Commit 15dd896

Browse files
authored
Remove null example for match_phrase (#129173)
1 parent a859f37 commit 15dd896

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

docs/reference/query-languages/esql/_snippets/functions/examples/match_phrase.md

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/kibana/definition/functions/match_phrase.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/MatchPhrase.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ public class MatchPhrase extends FullTextFunction implements OptionalArgument, P
106106
All [`match_phrase`](/reference/query-languages/query-dsl/query-dsl-match-query-phrase.md) query parameters are supported.
107107
108108
`MATCH_PHRASE` returns true if the provided query matches the row.""",
109-
examples = {
110-
@Example(file = "match-phrase-function", tag = "match-phrase-with-field"),
111-
@Example(file = "match-phrase-function", tag = "match-phrase-with-named-function-params") },
109+
examples = { @Example(file = "match-phrase-function", tag = "match-phrase-with-field") },
112110
appliesTo = {
113111
@FunctionAppliesTo(
114112
lifeCycle = FunctionAppliesToLifecycle.COMING,

0 commit comments

Comments
 (0)