Skip to content

Commit d7b42a9

Browse files
authored
adding ignore_unmapped to GeoDistanceQuery (#2388)
1 parent aa3a645 commit d7b42a9

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)