Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 8 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ data/**/*.csv
data/**/*.csv.bak

# docker
docker-emlo/solr-data
docker-emlo/redis
!docker-emlo/solr-data/.keep
docker-emlo/csv_import_files
!docker-emlo/csv_import_files-data/.keep
docker-emlo/solr-conf/solr/home/**/core.properties
docker/solr-data
!docker/solr-data/.keep
docker/solr9-data
!docker/solr9-data/.keep
docker/csv_import_files
!docker/csv_import_files-data/.keep
docker/solr/**/core.properties
docker/solr9/**/core.properties

# ENV folder
site-front-2
27 changes: 23 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
restart: always
build:
context: .
dockerfile: ./docker-emlo/Dockerfile-flask
dockerfile: ./docker/Dockerfile-flask
env_file:
- .env
expose:
Expand All @@ -16,16 +16,35 @@ services:
command: bash -c "/bin/docker-entrypoint.sh"

solr:
build: ./docker-emlo/solr-conf
build:
context: .
dockerfile: ./docker/Dockerfile-solr
restart: always
environment:
SOLR_LOG_LEVEL: INFO
LD_BIND_NOW: 1
ports:
- "8983:8983"
volumes:
- ./docker-emlo/solr-conf/solr/home:/opt/solr/server/solr/home
- ./docker-emlo/solr-data:/data-solr
- ./docker/solr:/opt/solr/server/solr/home
- ./docker/solr-data:/data-solr
ulimits:
nofile:
soft: "65536"
hard: "65536"

solr9:
image: solr:9
restart: always
environment:
SOLR_LOG_LEVEL: INFO
LD_BIND_NOW: 1
SOLR_SECURITY_MANAGER_ENABLED: false
ports:
- "8984:8983"
volumes:
- ./docker/solr9:/var/solr/data
- ./docker/solr9-data:/data-solr
ulimits:
nofile:
soft: "65536"
Expand Down
Empty file removed docker-emlo/csv_import_files/.keep
Empty file.
3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/all/core.properties

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/all_stage/core.properties

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/comments/core.properties

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/images/core.properties

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/images_stage/core.properties

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/institutions/core.properties

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/locations/core.properties

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/people/core.properties

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/people_stage/core.properties

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/resources/core.properties

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/works/core.properties

This file was deleted.

3 changes: 0 additions & 3 deletions docker-emlo/solr-conf/solr/home/works_stage/core.properties

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ LABEL version="0.4.0"
RUN sed -i "s/SOLR_HEAP=\".*\"/SOLR_HEAP=\"2048m\"/" /opt/solr/bin/solr.in.sh

# Solr core configuration
ADD /solr/home /opt/solr/server/solr/home
ADD docker/solr /opt/solr/server/solr/home

# Allow solr to write to folders
USER root
Expand Down
8 changes: 8 additions & 0 deletions docker/solr9/all/conf/lang/contractions_ca.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Set of Catalan contractions for ElisionFilter
# TODO: load this as a resource from the analyzer and sync it in build.xml
d
l
m
n
s
t
15 changes: 15 additions & 0 deletions docker/solr9/all/conf/lang/contractions_fr.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Set of French contractions for ElisionFilter
# TODO: load this as a resource from the analyzer and sync it in build.xml
l
m
t
qu
n
s
j
d
c
jusqu
quoiqu
lorsqu
puisqu
5 changes: 5 additions & 0 deletions docker/solr9/all/conf/lang/contractions_ga.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Set of Irish contractions for ElisionFilter
# TODO: load this as a resource from the analyzer and sync it in build.xml
d
m
b
23 changes: 23 additions & 0 deletions docker/solr9/all/conf/lang/contractions_it.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Set of Italian contractions for ElisionFilter
# TODO: load this as a resource from the analyzer and sync it in build.xml
c
l
all
dall
dell
nell
sull
coll
pell
gl
agl
dagl
degl
negl
sugl
un
m
t
s
v
d
5 changes: 5 additions & 0 deletions docker/solr9/all/conf/lang/hyphenations_ga.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Set of Irish hyphenations for StopFilter
# TODO: load this as a resource from the analyzer and sync it in build.xml
h
n
t
6 changes: 6 additions & 0 deletions docker/solr9/all/conf/lang/stemdict_nl.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Set of overrides for the dutch stemmer
# TODO: load this as a resource from the analyzer and sync it in build.xml
fiets fiets
bromfiets bromfiets
ei eier
kind kinder
Loading