Home>Article>Java> Example introduction of springboot plus ES to achieve global retrieval

Example introduction of springboot plus ES to achieve global retrieval

不言
不言 forward
2019-03-07 16:26:58 4339browse

This article brings you an example of springboot plus ES to achieve global retrieval. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

ElasticSearch is a search server based on Lucene. It provides a distributed multi-user capable full-text search engine based on a RESTful web interface. Developed in Java and released as open source under the terms of the Apache license, Elasticsearch is a popular enterprise-level search engine. Designed for use in [cloud computing], capable of real-time search, stable, reliable, fast, easy to install and use

Related dependencies:

Implementation code : Entity class (the entity class corresponding to the index)

The entity class ignores the set/get method

Interface:

Ignore service interface and implementation

Test class:

Output result:

The above is the detailed content of Example introduction of springboot plus ES to achieve global retrieval. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete