Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Sep 15, 2021

We dropped the adjacency matrix max clause setting in #46327 because we
believe that it is no longer required. From here on out you can use the
regular boolean max clause setting.

We dropped the adjacency matrix max clause setting in elastic#46327 because we believe that it is no longer required. From here on out you can use the regular boolean max clause setting.
@nik9000 nik9000 requested a review from jakelandis September 15, 2021 16:46
@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Sep 15, 2021
@elasticmachine
Copy link
Collaborator

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

@jakelandis jakelandis requested a review from masseyke September 20, 2021 13:31
static DeprecationIssue checkIndexMatrixFiltersSetting(IndexMetadata indexMetadata) {
return checkRemovedSetting(indexMetadata.getSettings(),
IndexSettings.MAX_ADJACENCY_MATRIX_FILTERS_SETTING,
"https://www.elastic.co/guide/en/elasticsearch/reference/master/migrating-8.0.html#breaking_80_settings_changes",
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be a link to our 7.x documentation. Maybe https://www.elastic.co/guide/en/elasticsearch/reference/7.15/search-aggregations-bucket-adjacency-matrix-aggregation.html#adjacency-matrix-agg-filter-limits? (related, i just noticed that that link says "this setting is deprecated and will be repaced").

Copy link
Member Author

Choose a reason for hiding this comment

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

I think that sentence is accurate from the perspective of 7.x. You can still specify the setting in 7.x and we'll respect it. But we won't in 8.0. Should it say "this setting will be ignored in 8.0. Use indices.query.bool.max_clause_count instead." Or something like that?

All of the links above are to the 8.0 breaking changes. Are they also wrong?

Copy link
Member

Choose a reason for hiding this comment

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

The wording sounds good to me. I've fixed all the other links that were pointing to 8.0 documentation in the last week. We're actually now using shortened URLs that can be repointed to wherever the docs team wants them without a code change (https://ela.st). If you want to change this URL to "https://ela.st/es-deprecation-7-adjacency-matrix-filters-setting" and let the docs team know where to point that, that would work.

@nik9000
Copy link
Member Author

nik9000 commented Sep 21, 2021

@masseyke I've updated the message and url.

@nik9000
Copy link
Member Author

nik9000 commented Sep 22, 2021

@elasticmachine update branch

@nik9000 nik9000 merged commit d56e5e4 into elastic:7.x Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v7.16.0

4 participants