In the Search service, there is duplicated code for building Elasticsearch queries present in CSP modules. This MR refactors Geo query building, moving it to the Core, Azure version is used as a sample.
Type of change
Please provide link to gitlab issue or ADR(Architecture Decision Record)
Does this introduce a change in the core logic?
Does this introduce a change in the cloud provider implementation, if so which cloud?
Does this introduce a breaking change?
What is the current behavior?
Code for Geo query building duplicated (with differences) in each CSP module.
What is the new/expected behavior?
Code for Geo query building extracted to the core, Azure optimized query builder is used.
Have you added/updated Unit Tests and Integration Tests?