Skip to content

Make it possible to use the high level rest client with modularized (jigsaw) applications #38299

@alpar-t

Description

@alpar-t

Right now it's not possible to write a modularized java application that talks with Elasticsearch using the High Level Rest Client. This came out of the discussion in #28984.

Since the HLRC depends on server, the application has to require elasticsearch because some of the classes that one would use are in Server, like SearchSourceBuilder.
This won't work because server also has an org.elasticsearch.client package.
The Module system doesn't allow this.

There are other modules that one would have to require, like org.apache.http.HttpHost so these will also have to work as modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions