Skip to content

[Tests] GeoDistanceQueryBuilderTests: add more checks #34043

@cbuescher

Description

@cbuescher

Found this quite ancient TODO in GeoDistanceQueryBuilderTests#assertGeoDistanceRangeQuery that
we probably want to add a few checks to the GeoDistanceQueryBuilder that are being parsed in the
test. So far the only thing the test checks is that the parsing of the input Json Strings doesn't break.
It would be nice to add some way to do meaningfull assertions on the generated GeoDistanceQueryBuilder
instances and maybe even to the Lucene Queries generated later (although that is a bit harder).

Metadata

Metadata

Assignees

Labels

:Analytics/GeoIndexing, search aggregations of geo points and shapes>enhancement>testIssues or PRs that are addressing/adding tests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions