forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ml-token-bucket
- Loading branch information
Showing
80 changed files
with
4,890 additions
and
751 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 104907 | ||
summary: Support ST_INTERSECTS between geometry column and other geometry or string | ||
area: "ES|QL" | ||
type: enhancement | ||
issues: | ||
- 104874 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 106381 | ||
summary: Dedupe terms in terms queries | ||
area: Mapping | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 106429 | ||
summary: "ESQL: Regex improvements" | ||
area: ES|QL | ||
type: enhancement | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 106435 | ||
summary: "ENRICH support for TEXT fields" | ||
area: ES|QL | ||
type: enhancement | ||
issues: | ||
- 105384 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[discrete] | ||
[[esql-st_intersects]] | ||
=== `ST_INTERSECTS` | ||
|
||
*Syntax* | ||
|
||
[.text-center] | ||
image::esql/functions/signature/st_intersects.svg[Embedded,opts=inline] | ||
|
||
*Parameters* | ||
|
||
`geomA`:: | ||
Expression of type `geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`. If `null`, the function returns `null`. | ||
|
||
`geomB`:: | ||
Expression of type `geo_point`, `cartesian_point`, `geo_shape` or `cartesian_shape`. If `null`, the function returns `null`. | ||
The second parameter must also have the same coordinate system as the first. | ||
This means it is not possible to combine `geo_*` and `cartesian_*` parameters. | ||
|
||
*Description* | ||
|
||
Returns true if two geometries intersect. | ||
They intersect if they have any point in common, including their interior points | ||
(points along lines or within polygons). | ||
In mathematical terms: ST_Intersects(A, B) ⇔ A ⋂ B ≠ ∅ | ||
|
||
*Supported types* | ||
|
||
include::types/st_intersects.asciidoc[] | ||
|
||
*Example* | ||
|
||
[source.merge.styled,esql] | ||
---- | ||
include::{esql-specs}/spatial.csv-spec[tag=st_intersects-airports] | ||
---- | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
include::{esql-specs}/spatial.csv-spec[tag=st_intersects-airports-results] | ||
|=== |
12 changes: 12 additions & 0 deletions
12
docs/reference/esql/functions/types/st_intersects.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
geomA | geomB | result | ||
cartesian_point | cartesian_point | boolean | ||
cartesian_point | cartesian_shape | boolean | ||
cartesian_shape | cartesian_point | boolean | ||
cartesian_shape | cartesian_shape | boolean | ||
geo_point | geo_point | boolean | ||
geo_point | geo_shape | boolean | ||
geo_shape | geo_point | boolean | ||
geo_shape | geo_shape | boolean | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.