You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
MrGraversen, jakelandis, reda-alaoui, cpastore84, martinvisser and 13 more