Skip to content

Commit b9a037b

Browse files
adding ignore_unmapped to GeoDistanceQuery (#2388) (#2389)
(cherry picked from commit d7b42a9) Co-authored-by: Laura Trotta <[email protected]>
1 parent 76b601e commit b9a037b

File tree

4 files changed

+31
-7
lines changed

4 files changed

+31
-7
lines changed

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 19 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

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

specification/_types/query_dsl/geo.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ export class GeoDistanceQuery
7676
* @server_default 'strict'
7777
*/
7878
validation_method?: GeoValidationMethod
79+
/**
80+
* Set to `true` to ignore an unmapped field and not match any documents for this query.
81+
* Set to `false` to throw an exception if the field is not mapped.
82+
* @server_default false
83+
*/
84+
ignore_unmapped?: boolean
7985
}
8086

8187
export class GeoPolygonPoints {

0 commit comments

Comments
 (0)