Skip to content

Conversation

@iverase
Copy link
Contributor

@iverase iverase commented May 24, 2023

The parameter was removed in version 8.0.0 but it should be supported in the Rest API with compatibility to v7.

@iverase iverase added >bug :Analytics/Geo Indexing, search aggregations of geo points and shapes v8.8.1 v8.9.0 labels May 24, 2023
@iverase iverase marked this pull request as draft May 24, 2023 09:22
@elasticsearchmachine
Copy link
Collaborator

Hi @iverase, I've created a changelog YAML for you.

@iverase iverase marked this pull request as ready for review May 24, 2023 09:48
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label May 24, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@craigtaverner craigtaverner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

"geo bounding box query compatible":
- do:
headers:
Content-Type: "application/vnd.elasticsearch+json;compatible-with=7"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, I did not know we could switch on compatibility with headers like this.

&& TYPE_FIELD.match(currentFieldName, parser.getDeprecationHandler())) {
deprecationLogger.compatibleCritical("geo_bounding_box_type", TYPE_PARAMETER_DEPRECATION_MESSAGE);
parser.text(); // ignore value
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indenting looks odd, but since it passed spotless I assume it is correct.

@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.8
iverase added a commit to iverase/elasticsearch that referenced this pull request May 24, 2023
…lastic#96317) The parameter was removed in version 8.0.0 but it should be supported in the Rest API with compatibility to v7
elasticsearchmachine pushed a commit that referenced this pull request May 24, 2023
…96317) (#96325) The parameter was removed in version 8.0.0 but it should be supported in the Rest API with compatibility to v7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Geo Indexing, search aggregations of geo points and shapes >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.8.1 v8.9.0

4 participants