Skip to content
Snippets Groups Projects
Commit 7e2dbbb4 authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

mc

parent 761c8935
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ import org.elasticsearch.search.SearchHit;
import org.elasticsearch.search.builder.SearchSourceBuilder;
import org.elasticsearch.search.fetch.subphase.FetchSourceContext;
import org.json.JSONObject;
import org.springframework.util.SystemPropertyUtils;
import info.textgrid.middleware.oaipmh.HeaderType;
import info.textgrid.middleware.oaipmh.ListRecordsType;
import info.textgrid.middleware.oaipmh.MetadataType;
......@@ -260,6 +261,9 @@ public class RecordListDelivererDC extends RecordListDelivererAbstract {
if (this.dariah == true) {
String setSpec = "hdl:" + DublinCoreFieldLoader.fillList(hit, DARIAHConstants.IDENTIFIER_LIST).get(0);
System.out.println(" ## setSpec --> " + setSpec);
try {
dublinCoreBuilder = putContentIntoDCFieldLists2(hit,
furtherDCElements(hit.getId(), OAI_ESClient.getEsClient()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment