1.0.5 • Published 2 years ago
generator-jhipster-es-entity-reindexer v1.0.5
generator-jhipster-es-entity-reindexer
JHipster module, Generates code to reindex selected entities with Elasticsearch. You may also set your app to reindex all entities on startup. This module is an updated version of Elasticsearch Reindexer for Jhipster 7.
Introduction
This JHipster module will generate code to reindex all entities with Elasticsearch. It will generate the following files:
- ElasticsearchIndexService.java - Reindex all or specifically selected entities. Can also reindex all entities on startup if application.elasticsearch.reindex-on-startupis set to true inapplication.yml.
- ElasticsearchIndexResource.java - Admin only REST endpoint to reindex all or specifically selected entities.
- ApplicationProperties.java - Adds the application.elasticsearch.reindex-on-startupto ApplicationProperties.
- application.yml - Adds application.elasticsearch.reindex-on-startupto end of file.
- Frontend code:- Navigation element to Admin dropdown
- Admin page to select all or specific entities to reindex
 
Prerequisites
As this is a JHipster module, we expect you have JHipster and its related tools already installed:
Installation
With NPM
To install this module:
npm install -g generator-jhipster-es-entity-reindexerTo update this module:
npm update -g generator-jhipster-es-entity-reindexerWith Yarn
To install this module:
yarn global add generator-jhipster-es-entity-reindexerTo update this module:
yarn global upgrade generator-jhipster-es-entity-reindexerUsage
In your jhipster project folder run the following command.
yo jhipster-es-entity-reindexerLicense
Apache-2.0 © Ebsan Uddin