Files
Phraseanet/docker/elasticsearch/Dockerfile
jygaulier ce3a28b5cd PHRAS-3583
define a custom "sort" analyzer (whole value, lowercase, no diacritics)
fix sort by type (string/date/number)
fix sort on business fields (use "private_caption.field")
sort string fields on ".sort" sub-value (in place of ".raw")
add option for docker/es to activate scripting on search (disabled for now)
2021-11-16 20:52:54 +01:00

7 lines
224 B
Docker

FROM elasticsearch:2.4
# uncomment to allow (groovy) script in search/sort etc.
# RUN echo "script.engine.groovy.inline.search: on" >> config/elasticsearch.yml
RUN /usr/share/elasticsearch/bin/plugin install analysis-icu