Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to parse Elasticsearch Jest

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

How to parse Elasticsearch Jest, in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

1. Jest introduction

Jest is the Java Http Rest client of Elasticsearch.

ElasticSearch already has java API used in Elasticsearch, but Jest makes up for the lack of Elasticsearch Http Rest interface client in ES's own API.

2. The advantages of Jest are summarized as follows

1) provide Restful API, but native ES API does not.

2) if the ES cluster uses a different version of ES, there will be problems using native ES API, but Jest will not

3) more secure (security processing can be added to the Http layer).

3. Reliability of Jest installation 3.1

In a nutshell, Jest manages projects in the same way as maven. Support for the latest Elasticsearch.

Pom.xml has configuration information. (the default is pom.xml related to the latest ES version. As of 16:38, 2017-08-13, version 5.3.2 is supported by default).

Io.searchbox jest 2.0.0

High version of ES can also be used, I actually develop ES5.4.0, using JEST to do back-end interface development.

3.2 it doesn't matter if you don't know Maven, start the project first.

Reference for the method of exporting jar packages that Jest depends on, Google search:

Eclipse maven exports the jar package on which the project depends. 4. Use of Jest

This is the end of the answer to the question on how to analyze Elasticsearch Jest. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel to learn more about it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report