Chúng tôi không thể tìm thấy kết nối internet
Đang cố gắng kết nối lại
Có lỗi xảy ra!
Hãy kiên nhẫn trong khi chúng tôi khắc phục sự cố
Cách kết nối tới Elasticsearch từ Ứng dụng Spring Boot - Spring Data Elasticsearch - Phần 1
In this tutorial series we take a look at Elasticsearch and see how we can use it together with Spring Boot. To make things easier for use we use awesome Spring Data Elasticsearch. For all of those who are not familiar with it, Elasticsearch is a distributed, free and open search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured. Elasticsearch is built on Apache Lucene and was first released in 2010 by Elasticsearch N.V. (now known as Elastic). Known for its simple REST APIs, distributed nature, speed, and scalability, Elasticsearch is the central component of the Elastic Stack, a set of free and open tools for data ingestion, enrichment, storage, analysis, and visualization. Commonly referred to as the ELK Stack (after Elasticsearch, Logstash, and Kibana), the Elastic Stack now includes a rich collection of lightweight shipping agents known as Beats for sending data to Elasticsearch.
In this video we take a look how we can configure and connect to running elasticsearch instance and also how we can create an index with some mappings and settings and index some data.
Java API:
https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/index.html
Source code:
https://github.com/liliumbosniacum/elasticsearch
This videos commit:
https://github.com/liliumbosniacum/elasticsearch/commit/d393033644e36b23c9af34b0b44918ced9f48882
Experience the search:
https://www.elastic.co/about/story-of-search
URLs accessed in the tutorial:
http://localhost:9200/_cat/indices
http://localhost:9200/person/_settings
http://localhost:9200/person/_search?pretty=true&q=*:*
Intro by Audionautix is licensed under a Creative Commons Attribution 4.0 licence. https://creativecommons.org/licenses/
Artist: http://audionautix.com/
#java #springboot #elasticsearch
Dịch Vào Lúc: 2025-02-14T14:37:19Z