Elasticsearch in an existing JHipster project
Asked Answered
F

1

7

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?

Fere answered 8/3, 2016 at 22:50 Comment(0)
T
13

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"

Thirtytwo answered 9/3, 2016 at 0:36 Comment(3)
Sorry :). What I mean is I have done this. But it does not modify the application-dev.yml. Nor did it changes the HTML view. Even after modifying the application-dev.yml embedded elasticsearch does not start. Glad you saw this message. Any help would be much appreciatedAllowance
Well, if you added "searchEngine": "elasticsearch", line to your yo-rc.json, I cannot see why it would not work. I clarified the instructions in answer.Discriminative
ok. my bad .. I added "searchEngine": "true". I will recheck this and updateAllowance

© 2022 - 2024 — McMap. All rights reserved.