refactor inner geogrid classes to own class files#37596
refactor inner geogrid classes to own class files#37596talevy merged 2 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/es-analytics-geo |
To make further refactoring of GeoGrid aggregations easier (related: elastic#30320), splitting out these inner class dependencies into their own files makes it easier to map the relationship between classes
365c80e to
653b518
Compare
|
run gradle build tests 1 |
nyurik
left a comment
There was a problem hiding this comment.
LGTM, thanks for getting it started!
|
run gradle build tests 2 |
|
run gradle build tests 1 |
2 similar comments
|
run gradle build tests 1 |
|
run gradle build tests 1 |
imotov
left a comment
There was a problem hiding this comment.
LGTM. I left a couple of minor suggestions. I wonder if it would also make sense to rename everything GeoGrid* into GeoHashGrid* for consistency while you are at it.
server/src/main/java/org/elasticsearch/search/aggregations/bucket/geogrid/CellIdSource.java
Show resolved
Hide resolved
.../java/org/elasticsearch/search/aggregations/bucket/geogrid/GeoHashGridAggregatorFactory.java
Outdated
Show resolved
Hide resolved
@imotov The goal is to actually do the opposite - we are renaming everything into |
|
Makes sense. What about |
|
I was planning that type of renaming to be done in a followup, wanted to get these new class files out of the way before further changes to them |
|
run the gradle build tests 1 |
* elastic/master: (104 commits) Permission for restricted indices (elastic#37577) Remove Watcher Account "unsecure" settings (elastic#36736) Add cache cleaning task for ML snapshot (elastic#37505) Update jdk used by the docker builds (elastic#37621) Remove an unused constant in PutMappingRequest. Update get users to allow unknown fields (elastic#37593) Do not add index event listener if CCR disabled (elastic#37432) Add local session timeouts to leader node (elastic#37438) Add some deprecation optimizations (elastic#37597) refactor inner geogrid classes to own class files (elastic#37596) Remove obsolete deprecation checks (elastic#37510) ML: Add support for single bucket aggs in Datafeeds (elastic#37544) ML: creating ML State write alias and pointing writes there (elastic#37483) Deprecate types in the put mapping API. (elastic#37280) [ILM] Add unfollow action (elastic#36970) Packaging: Update marker used to allow ELASTIC_PASSWORD (elastic#37243) Fix setting openldap realm ssl config Document the need for JAVA11_HOME (elastic#37589) SQL: fix object extraction from sources (elastic#37502) Nit in settings.gradle for Eclipse ...
To make further refactoring of GeoGrid aggregations
easier (related: #30320), splitting out these inner
class dependencies into their own files makes it
easier to map the relationship between classes