Elasticsearch 6.0: create index, bulk insert and delete data via Java

In this tutorial we set up a local Elasticsearch 6.0 server and create indices, insert, delete and query data via the Java API on Windows. Elasticsearch is a distributed full-text NoSQL (data is stored in JSON format) search engine based on Apache Lucene and written in Java. Apache Solr and Elasticsearch are the most prevalent search servers. The following example code is provided as maven project on Git. 1. Elasticsearch prerequisites Download and install JVM 1.8; Remember to set JAVA_HOME environment variable (for Windows) Download the zipped Elasticsearch server 6.0…

Read More