Город МОСКОВСКИЙ
00:13:53

How to index a document in Elasticsearch - Spring Data Elasticsearch - Part 2

Аватар
PHP Веб-разработка и Symfony
Просмотры:
21
Дата загрузки:
30.11.2023 15:22
Длительность:
00:13:53
Категория:
Обучение

Описание

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 create an index without using annotations and add some data to it. When creating an index we apply mappings and settings all with use of integrated rest client.
In addition we index some data to created index and demonstrate how to do it without use of ElasticsearchRepository class.

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
http://localhost:9200/_cat/indices
http://localhost:9200/vehicle
http://localhost:9200/vehicle/_settings
http://localhost:9200/vehicle/_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

Рекомендуемые видео