Why Java High Level REST Client got introduced in Elastic search?

一世执手 提交于 2021-01-29 20:23:20

问题


There are two Java Rest clients named Java High Level REST Client and Java Low Level REST Client to integrate with Elastic Search.

When did Java High Level REST Client got introduced in Elastic search and why?


回答1:


If you follow the official documentation you will get to know the differences, how they work and the reason behind adding the Java High Level REST Client(JHLRC).

Coming to the first question when JHLRC was added, as shown in official doc, it was added in 6.0.0-beta1 release.

Coming to the second question,

JHLRC works on top of JLLRC and provides additional functionality like marshaling and unmarshalling of requests, which low-level client doesn't provide, apart from that it provides both sync and async versions of APIs.

More info on the low-level client can be found here and about high-level client can be found here, which also explains the internals and how they work.



来源:https://stackoverflow.com/questions/62421617/why-java-high-level-rest-client-got-introduced-in-elastic-search

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!