Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix a bug with the introduction of BBOX where it didn't handle BBOX cross meridian that is cross -180 <> 180, in short the box have value say -203 etc
The generated elastic search should contains two box with a should operation with two geo_bounding_box
POST /es-indexer-edge/_search?typed_keys=true {"_source":{"includes":["id","summaries.proj:geometry_noland"]},"min_score":0.0,"query":{"bool":{"filter":[{"bool":{"should":[{"geo_bounding_box":{"summaries.proj:geometry":{"top_left":{"lat":-1.2075604055520772,"lon":-180.0},"bottom_right":{"lat":-41.02344382778737,"lon":-149.42177465105033}}}},{"geo_bounding_box":{"summaries.proj:geometry":{"top_left":{"lat":-1.2075604055520772,"lon":149.75791284895058},"bottom_right":{"lat":-41.02344382778737,"lon":180.0}}}}]}}],"must":[{"match_all":{}}]}},"search_after":["bc1b3741-e75c-5039-e044-00144f7bc0f4","bc1b3741-e75c-5039-e044-00144f7bc0f4"],"size":2200,"sort":[{"id.keyword":{"order":"asc"}},{"id.keyword":{"order":"asc"}}]}