Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 55ff87d Sep 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Initial commit Sep 20, 2018
.gitignore Initial commit Sep 20, 2018
README.md Update README.md Sep 20, 2018
pom.xml Initial commit Sep 20, 2018

README.md

ElasticSearch CRUD with Rollover

This project focuses mainly on demo-ing with ElasticSearch Rollover Java API usage.

Prerequisites

Install ElasticSearch-6.4.0, and start the elasticSearch server.

Running

Import this project as a maven project and build using mvn clean install. Either run directly from your IDE(by right clicking on ESTester main class and clicking in Run ESTester.main().You need to edit configuration to provide command line argument/s. The command line argument should be atleast one or atmost nine arguments in total. The argument minimum value is 1 maximum value is 9 and represents the below operations:

  • 1 - Create,
  • 2 - Read,
  • 3 - Update,
  • 4 - Delete,
  • 5 - Read Multiple,
  • 6 - Insert Multiple,
  • 7 - Search,
  • 8 - Search All and
  • 9 - Read Using Scroll.

For Example: java -jar elasticsearch-rollover-1.0.0.jar 1 3 (or) java -Xms250m -Xmx250m -jar elasticsearch-rollover-1.0.0.jar 1 3

You can’t perform that action at this time.