Skip to content

Commit

Permalink
Merge pull request #9 from TIBHannover/8-ingest-with-pauses
Browse files Browse the repository at this point in the history
ingest with 2 more solr population steps and pauses for #8
  • Loading branch information
giraygi authored Aug 12, 2024
2 parents ee034d8 + 3efaed2 commit 63d0853
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ansible/roles/ingest/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,24 @@
args:
chdir: '{{ ols4_base_dir }}/dataload'

- name: Pause for 5 seconds
ansible.builtin.pause:
seconds: 5

- name: wget ols4_entities
command: 'wget --no-proxy http://127.0.0.1:8983/solr/ols4_entities/update?commit=true'
args:
chdir: '{{ ols4_base_dir }}/dataload'

- name: Pause for 5 seconds
ansible.builtin.pause:
seconds: 5

- name: wget ols4_autocomplete
command: 'wget --no-proxy http://127.0.0.1:8983/solr/ols4_autocomplete/update?commit=true'
args:
chdir: '{{ ols4_base_dir }}/dataload'

- name: csv2neo
command: 'java -jar csv2neo/target/csv2neo-1.0-SNAPSHOT.jar -i -d {{ ols4_base_dir }}/dataload/output_csv'
args:
Expand Down

0 comments on commit 63d0853

Please sign in to comment.