Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding option ignore_unmapped to GeoDistanceQuery #2388

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions output/openapi/elasticsearch-serverless-openapi.json

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

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 @@ -76,6 +76,12 @@ export class GeoDistanceQuery
* @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
Loading