Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elasticsearch in an existing JHipster project

I'm creating a JHipster application and identified now the necessity of a full text search. Iknow JHipster is integrated with Elasticseach but I didn't enabled it when I've created the project. Is there a easy (or painless) way to integrate Elasticsearch in an existing JHipster project?

like image 639
brevleq Avatar asked Mar 08 '16 22:03

brevleq


1 Answers

You can edit your project's .yo-rc.json file and add a line "searchEngine": "elasticsearch",, re-run yo jhipster and merge manually the changes. You may have to re-generate entities too as explained in our doc: "Generating an entity a second time"

like image 195
Gaël Marziou Avatar answered Nov 14 '22 20:11

Gaël Marziou