Skip to content

Commit

Permalink
adding ignore_unmapped to GeoDistanceQuery (#2388)
Browse files Browse the repository at this point in the history
(cherry picked from commit d7b42a9)
  • Loading branch information
l-trotta committed Jan 17, 2024
1 parent 57a5ad0 commit 35c6884
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
25 changes: 19 additions & 6 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions specification/_types/query_dsl/geo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ export class GeoDistanceQuery
distance_type?: GeoDistanceType
/** @server_default 'strict' */
validation_method?: GeoValidationMethod
/**
* Set to `true` to ignore an unmapped field and not match any documents for this query.
* Set to `false` to throw an exception if the field is not mapped.
* @server_default false
*/
ignore_unmapped?: boolean
}

export class GeoPolygonPoints {
Expand Down

0 comments on commit 35c6884

Please sign in to comment.