Remove dependency to Lucene in tests for features common to Lucene and Elasticsearch

Description

Some tests rely on Lucene backend's features (APIs, analyzers, ...) to test features common to both Lucene and ES.

Note: those tests should pass when this ticket is resolved, and are currently disabled in the pom.xml of the Elasticsearch module. Those tests will be (or have been) outlined as part of HSEARCH-2390.
Also, some relevant tests are disabled using the ElasticsearchSupportInProgress category.

Environment

None

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Minor
Configure