[FOLIO-3161] Reference env elasticsearch container requires additional plugins Created: 12/May/21  Updated: 13/May/21  Resolved: 12/May/21

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P2
Reporter: John Malconian Assignee: John Malconian
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-3162 Updated Elasticsearch role breaks Vag... Closed
Sprint: DevOps Sprint 114
Development Team: FOLIO DevOps

 Description   

A recent change to mod-search requires additional plugins missing in the official Elastic elasticsearch docker image currently used in the reference env builds. The additional plugins are:

analysis-icu
analysis-kuromoji
analysis-smartcn
analysis-nori
analysis-phonetic

Plugins cannot be specified at runtime in the official elasticsearch image. Therefore we need to either build a custom elasticsearch image or use a different elasticsearch image that can specify plugins at runtime (Bitnami). Custom image based on official elasticsearch image would look something like:

FROM docker.elastic.co/elasticsearch/elasticsearch:7.10.1

RUN elasticsearch-plugin install --batch \
  analysis-icu \
  analysis-kuromoji \
  analysis-smartcn \
  analysis-nori \
  analysis-phonetic


 Comments   
Comment by John Malconian [ 12/May/21 ]

Substituted the elasticsearch docker image used in reference environments with a Bitnami image since additional ES plugins can be specified at runtime as env variables rather than having to maintain a custom ES image.

Generated at Thu Feb 08 23:26:04 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.