In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install ElasticSearch, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
"ElasticSearch is a search engine based on Lucene, and ElasticSearch is also written in Java. The relationship between Lucene and ElasticSearch is similar to that between engines and cars. Lucene provides basic component support for ElasticSearch. So get a general idea of the birth and principle of ElasticSearch today."
The birth of ElasticSearch
The founder of ElasticSearch first approached Lucene in order to develop a recipe search app for his wife. Previous articles mentioned that Lucene is an open source full-text search engine written by Java. It is not an application by itself and cannot be used directly by the user. Also unfriendly to other languages. So a series of problems encountered by ElastiSearch developers in the process of using it. He constantly optimizes it on the basis of Lucene to form his own set of applications' Compass'.
Initial stage of ElasticSearch
Later, it also encountered a high-performance, distributed search service at work. So he rebuilt ElasticSearch on the basis of Compass'. From the beginning of the design, the goal is to create a distributed, high-performance, JSON-based, Restful-based easy-to-use and other languages independent services.
ElasticSearch development stage
A company was later established around ElasticSearch. (Elastic) the overall development around ElasticSearch or data ecology. The company went public (ESTC) last year and soared on the day of its listing. ELasticSearch can currently integrate Python, PHP, .NET, Java, etc., with a variety of clients. Currently, it also supports integration with big data analysis platforms such as Hadoop and Spark.
ElasticSearch has spawned a series of open source projects. For example, the more popular ELK Stack in the industry. ELK Stack is the abbreviation of ElasticSearch responsible for data retrieval service, Logstash for data acquisition and analysis service and Kibana for data visualization service. Logstash is written in Java language and is responsible for data collection and analysis. It will lead to excessive CPU and memory usage of the service, and then ELastic launched the Beats family written in the GE language. Filebeat 、 HeartBeat 、 WinlogBeat...
Installation of ElasticSearch
The above probably made a brief introduction to ElasticSearch, and now we are going to install ElasticSearch stand-alone directly. ElasticSearch is based on Java development, so the first thing to ensure before installation is the Java environment.
Make sure the Java environment is available.
Download the relevant version (my 7.3.0)
After decompression, if it is a stand-alone environment, you can directly enter the directory to execute bin/elasticsearch.
Use a browser to view the Http service.
By default, ElasticSearch opens two ports, 9200 and 9300. 9200 is our REST API interface, which can be retrieved directly based on http.
You can now try the fun of ElasticSearch in a stand-alone environment.
Thank you for reading this article carefully. I hope the article "how to install ElasticSearch" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.