atumatic solr collection drop & commit #35

Closed
opened 2020-08-03 14:27:47 +02:00 by claudio.atzori · 3 comments

Currently the oozie workflow for the XML records indexing requires to manually drop the shadow solr collection before the indexing procedure starts as well as to perform an hard commit after the indexing process is completed to make the changes visible.

This task aims at extending the oozie workflow behaviour by wrapping the to_solr_index action node with

  • a preceeding node aimed to drop the target collection: drop_solr_collection;
  • a following node aimed to issue a commit command on the target collection: commit_solr_collection.

The parameters available in the workflow definition should be sufficient to perform the new operations.

Currently the oozie workflow for the XML records indexing requires to manually drop the shadow solr collection before the indexing procedure starts as well as to perform an hard commit after the indexing process is completed to make the changes visible. This task aims at extending the oozie workflow behaviour by wrapping the `to_solr_index` action node with * a preceeding node aimed to drop the target collection: `drop_solr_collection`; * a following node aimed to issue a commit command on the target collection: `commit_solr_collection`. The parameters available in the workflow definition should be sufficient to perform the new operations.
claudio.atzori added the
enhancement
label 2020-08-03 14:27:47 +02:00
claudio.atzori self-assigned this 2020-08-03 14:27:47 +02:00
Author
Owner

A first version of the enhancement is implemented in 3a11a387a9, sending it out for code review.

A first version of the enhancement is implemented in https://code-repo.d4science.org/D-Net/dnet-hadoop/commit/3a11a387a94927c108ff29a36fb686b6d6864c43, sending it out for code review.
Author
Owner

Workflow deployed in /lib/dnet/{PROD|BETA}/oa/provision. We should close this task as soon as the procedure will be tested in the execution orchestrated via D-NET.

Workflow deployed in ```/lib/dnet/{PROD|BETA}/oa/provision```. We should close this task as soon as the procedure will be tested in the execution orchestrated via D-NET.
Author
Owner

Tested and working. Closing

Tested and working. Closing
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: D-Net/dnet-hadoop#35
No description provided.