Skip to content

Commit 80f3338

Browse files
committed
update generated docs links
1 parent b44bf3b commit 80f3338

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/Count.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class Count extends AggregateFunction implements ToAggregator, SurrogateE
5555
),
5656
@Example(
5757
description = "To count the number of times an expression returns `TRUE` use "
58-
+ "a <<esql-where>> command to remove rows that shouldn’t be included",
58+
+ "a [`WHERE`](/reference/query-languages/esql/commands/where.md) command to remove rows that shouldn’t be included",
5959
file = "stats",
6060
tag = "count-where"
6161
),

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/grouping/Bucket.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ another in which the bucket size is provided directly (two parameters).
132132
::::{note}
133133
`BUCKET` does not filter any rows. It only uses the provided range to pick a good bucket size.
134134
For rows with a value outside of the range, it returns a bucket value that corresponds to a bucket outside the range.
135-
Combine `BUCKET` with <<esql-where>> to filter rows.
135+
Combine `BUCKET` with [`WHERE`](/reference/query-languages/esql/commands/where.md) to filter rows.
136136
::::"""
137137
),
138138
@Example(description = """
@@ -166,7 +166,7 @@ another in which the bucket size is provided directly (two parameters).
166166
@Example(
167167
description = """
168168
`BUCKET` may be used in both the aggregating and grouping part of the
169-
<<esql-stats-by, STATS ... BY ...>> command provided that in the aggregating
169+
[STATS ... BY ...](/reference/query-languages/esql/commands/stats-by.md) command provided that in the aggregating
170170
part the function is referenced by an alias defined in the
171171
grouping part, or that it is invoked with the exact same expression:""",
172172
file = "bucket",

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/date/DateTrunc.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ public interface DateTruncFactoryProvider {
6666
examples = {
6767
@Example(file = "date", tag = "docsDateTrunc"),
6868
@Example(
69-
description = "Combine `DATE_TRUNC` with <<esql-stats-by>> to create date histograms. For\n"
70-
+ "example, the number of hires per year:",
69+
description = "Combine `DATE_TRUNC` with [`STATS`](/reference/query-languages/esql/commands/stats-by.md) "
70+
+ "to create date histograms."
71+
+ "/n For example, the number of hires per year:",
7172
file = "date",
7273
tag = "docsDateTruncHistogram"
7374
),

0 commit comments

Comments
 (0)