OAK-9686: replace Elastic RHLC with Elastic Java Client (#568) (Patch submitted by Angela Fabregues + Fabrizio Fortinio)
* OAK-9686 - Rename the old Elasticsearch client variables
* OAK-9686 - Start the migration to the new Elasticsearch Client
* OAK-9686 - Increase max jar size for run elastic
* OAK-9686 - Migration to the new Elasticsearch Client
* OAK-9686 - Elasticsearch client renaming.
* OAK-9686 - Enabling async client
* OAK-9686 - ElasticIndexCleaner migrated to the new client.
* OAK-9686 - ElasticIndexHelper migrated to the new client (except for elasticknn).
* OAK-9686 - Back to the high level client for ElasticIndexHelper.
* OAK-9686 - migration to 7.17.0
* fix compilation error in oak-benchmarks-elastic
* fix similarity queries
* fix facet/aggregations
* OAK-9686 - the collate source is included in the query.
* OAK-9686 - Support requests on more than an Elasticsearch index
* OAK-9686 - Fixing text field location in suggest query.
* OAK-9686 - Refactoring aggregations
* OAK-9686 - Removing unnecessary overwrittes.
* (minor) improved formatting of ElasticRequestHandler fixed code
* fixed similarity queries
* use java client for ElasticIndexStatisticsTest
* fixed range queries
* fixed ElasticPropertyIndexTest
* fixed baseQuery logic
* remove XContentBuilder from ElasticRequestHandler
* (minor) style improvements in similarityQuery
* ElasticFunctionIndexCommonTest: reintroduced needed overrides
* use the same version for both es clients (7.17.2)
* fix suggest queries
* use UTF-8 to serialize SearchRequest to strings (fixes a couple of test failures)
* ElasticIndexHelper2: added details on why we cannot still migrate to the new client
* get rid of operations using the low level client
* (minor) removed unused code + small improvements
* OAK-9686 - Fixing collate boolean query.
* OAK-9686 - Fixing spellchecker
* OAK-9686 - Executes a single elasticsearch connection to use for all the tests.
* fix plugin version (fixes similarity tests) + minor code style improvements
* improved spellcheck
* bump es to 7.17.3
* fix size history comment in oak-run-elastic pom
* ElasticIndexWriter: reduce dependency from RHLC
* last touches: cleanup + adjusted formatting
* pom: remove obsolete imported packages
* improved connection handling
* pom: fine tune dependencies
* pom: fix import packages
* OAK-9686 - improve exception throw
* OAK-9686 - fix potential null pointer exception
* OAK-9686 - use a single jackson-databind version
* OAK-9686 - skip test when a single Elasticsearch is reused among test executions
* OAK-9686 - fix test for the use of a single Elasticsearch among test executions
* fix a documentation link
Co-authored-by: Angela Fabregues <angela.fabregues@netcentric.biz>
Co-authored-by: fabriziofortino <fabrizio.fortino@gmail.com>