mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 23:57:20 -04:00
- Added a new `AbstractAggregationTestCase` base class for tests, that shares most of the code of function tests, adapted for aggregations. Including both testing and docs generation. - Reused the `AbstractFunctionTestCase` class to also let us test evaluators if the aggregation is foldable - Added a `TopListTests` example - This includes the docs for Top_list _(Also added a missing include of Ip_prefix docs)_ - Adapted Kibana docs to use `type: "agg"` (@drewdaemon) The current tests are very basic: Consume a page, generate an output, all in Single aggregation mode (No intermediates, no grouping). More complex testing will be added in future PRs Initial PR of https://github.com/elastic/elasticsearch/issues/109917
16 lines
291 B
Text
16 lines
291 B
Text
[[esql-ip-functions]]
|
|
==== {esql} IP functions
|
|
|
|
++++
|
|
<titleabbrev>IP functions</titleabbrev>
|
|
++++
|
|
|
|
{esql} supports these IP functions:
|
|
|
|
// tag::ip_list[]
|
|
* <<esql-cidr_match>>
|
|
* <<esql-ip_prefix>>
|
|
// end::ip_list[]
|
|
|
|
include::layout/cidr_match.asciidoc[]
|
|
include::layout/ip_prefix.asciidoc[]
|