Links that I referred to before running Elasticsearch 7.7 on Java 11

Operation check environment

Reference URL

** Environment construction related **

Register the repository with yum so that the version can be unified for each environment (in CentOS8, use dnf)

Version Elasticsearch 7.7 (current) * As of May 15, 2020


--Insert Kuromoji, ICU for Japanese support

The version of the plug-in must match the version of the ES itself. (For example, if ES is 7.5.2, kuromoji also needs v7.5.2) Plugins are installed using elasticsearch-plugin after es installation.

$ cd /usr/share/elasticsearch/bin/

Plugin installation

$ ./elasticsearch-plugin install analysis-icu
-> Installing analysis-icu
-> Downloading analysis-icu from elastic
[=================================================] 100%  
-> Installed analysis-icu
$ ./elasticsearch-plugin install analysis-kuromoji

Check installed plugins

$ ./elasticsearch-plugin list
Transport Client is 7.from x to deprecated, 8.Because it is deleted by xUse RestHighLevelClient
Transport Client

Deprecated in 7.0.0.
The TransportClient is deprecated in favour of the Java High Level REST ClientandwillberemovedinElasticsearch8.0.Themigrationguide describes all the steps needed to migrate.

Mapping type is 7.x to deprecated, 8.Removed from x
Alternative method

Indexing by document type
Creating a custom type field

** Installation on CentOS **

** About Elasticsearch (details are organized) **

** Index registration/Data registration **

** Alias ​​setting **


--Char filter ・ ・ ・ Preprocessing (option) --Tokenizer ・ ・ ・ Word division --Token filter ・ ・ ・ Post-processing (option)

→ It is necessary to make these three selections

** Mapping (schema definition) **

** Search **

#Check all registered data POST /uedb-elasticsearch_ja_20204428214440/_search?pretty { "query": { "match_all": {} } } Tips

** Check version etc. **

curl localhost:9200/_nodes/plugins?pretty


Plugin needs to be removed and reinstalled separately


elasticsearch-plugin remove analysis-icu


elasticsearch-plugin install analysis-icu

Recommended Posts

Links that I referred to before running Elasticsearch 7.7 on Java 11
I tried running Java on a Mac terminal
Introducing New Relic to Java apps running on Heroku
I want to implement it additionally while using kotlin on a site running Java
I have summarized the articles that programming beginners referred to.
[Java] I tried to make a rock-paper-scissors game that beginners can run on the console.
A story that I struggled to challenge a competition professional with Java
I want to use swipeback on a screen that uses XLPagerTabStrip
I just want to write Java using Eclipse on my Mac
I tried to display the calendar on the Eclipse console using Java.
I tried to interact with Java
I tried to summarize Java learning (1)
I tried to summarize Java 8 now
[Introduction to Java] I tried to summarize the knowledge that I think is essential
Avoid Java encoding errors that occur when running FitGen.exe on Japanese Windows
How to check Java installed on Mac
I tried using Elasticsearch API in Java
I tried running Docker on Windows Server 2019
I tried to summarize Java lambda expressions
I want to display background-ground-image on heroku.
I want to install PHP 7.2 on Ubuntu 20.04.
How to switch Java versions on Mac
I want to stop Java updates altogether
I tried to build AdoptOpenjdk 11 on CentOS 7
I went to the Java Women's Club # 1
[* Java *] I went to JJUG CCC 2017 Fall
Steps to register Java files on GitHub
I want to play a GIF image on the Andorid app (Java, Kotlin)
I built a Java EE environment on AWS and tried running a web application
The story that I could not build after installing multiple Java on Windows