Skip to content

Commit a81e850

Browse files
authored
adding ignore_unmapped to GeoDistanceQuery (#2388) (#2391)
(cherry picked from commit d7b42a9)
1 parent 57a5ad0 commit a81e850

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

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
@@ -54,6 +54,12 @@ export class GeoDistanceQuery
5454
distance_type?: GeoDistanceType
5555
/** @server_default 'strict' */
5656
validation_method?: GeoValidationMethod
57+
/**
58+
* Set to `true` to ignore an unmapped field and not match any documents for this query.
59+
* Set to `false` to throw an exception if the field is not mapped.
60+
* @server_default false
61+
*/
62+
ignore_unmapped?: boolean
5763
}
5864

5965
export class GeoPolygonPoints {

0 commit comments

Comments
 (0)