Skip to content
Snippets Groups Projects
Commit 3e1fbd40 authored by mbrodhu's avatar mbrodhu
Browse files

Don't use old Syntax for fetching field content from ES

parent cf40638f
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,7 @@ public class IdentifierListDelivererIDIOM extends IdentifierListDelivererAbstrac
i++;
String textgridURI = OAIPMHUtilities.fieldLoader(new JSONObject(hit.getSourceAsMap()), "textgridUri").replace(".0","");
//hit.getFields().get("textgridUri").getValue().toString().replace(".0", "");
System.out.println(textgridURI);
RecordDelivererIDIOM idiomRecord = new RecordDelivererIDIOM(true, false);
identifierList.getHeader()
.add(idiomRecord.getRecordById(textgridURI).getRecord().getHeader());
......
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