mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
dc3a97d3b8
- Build our own elasticsearch image based on 6.8.6 which includes configuration files for german decompounder from https://github.com/uschindler/german-decompounder - move elastichq to separate service and use the official image instead of including it as plugin in the elasticsearch image - Adjust compounder filter config in papers to use the included hyphenation_decompounder. See https://www.elastic.co/guide/en/elasticsearch/reference/6.8/analysis-compound-word-tokenfilter.html - Remove obsolete "string" type in the mapping of papers, and replace it with "text" or "keywords" accordingly. See https://www.elastic.co/blog/strings-are-dead-long-live-strings
8 lines
336 B
Docker
8 lines
336 B
Docker
FROM elasticsearch:6.8.6
|
|
|
|
RUN \
|
|
mkdir -p /usr/share/elasticsearch/config/analysis && \
|
|
pushd /usr/share/elasticsearch/config/analysis && \
|
|
curl -sSLO https://github.com/uschindler/german-decompounder/raw/master/de_DR.xml && \
|
|
curl -sSLO https://github.com/uschindler/german-decompounder/raw/master/dictionary-de.txt && \
|
|
popd
|