Skip to content
Snippets Groups Projects
Commit 4c87395f authored by mbrodhu's avatar mbrodhu
Browse files

ListIdentifier Logs

parent 00753576
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ public class RecordListDeliverer {
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
System.out.println("HAHA!");
GetRequestBuilder getWorkValues = esClient.getOaiESClient()
.prepareGet().setIndex(esClient.getEsIndex())
.setType(esClient.getEsType()).setId(id)
......@@ -169,7 +169,7 @@ public class RecordListDeliverer {
System.out.println("Inside The Search");
// Only if we have a search response AND a hit field map...
if (hit != null && hit.getFields() != null) {
System.out.println("also inside here");
// The response should also contains the editions
// if (hit.getFields().get(formatField) == null) {
......@@ -199,6 +199,9 @@ public class RecordListDeliverer {
if (this.textgrid == true && hit.getFields().get(formatField).values()
.get(0).toString().equals(formatToFilter)) {
System.out.println("WORKS!");
String workUri = hit
.getFields()
.get(this.relationToFurtherMetadataObject)
......
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