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

Remove OAI_ESClient from IDIOM class

parent 451ea96a
No related branches found
No related tags found
No related merge requests found
......@@ -456,15 +456,14 @@ public class RecordListDelivererDC extends RecordListDelivererAbstract {
query = boolQuery;
} else {
query = rangeQuery;
}
try {
// log.debug("getRecords(): " + (query != null ? "queryName=" + query.getName() :
// "query=NULL")
// + " | " + (recordList != null ? recordList : "recordList=NULL") + " | "
// + (resumptionToken != null ? resumptionToken : "resumptionToken=NULL") + " | "
// + (set != null ? set : "set=NULL"));
log.debug("getRecords(): " + (query != null ? "queryName=" + query.getName() : "query=NULL")
+ " | " + (recordList != null ? recordList : "recordList=NULL") + " | "
+ (resumptionToken != null ? resumptionToken : "resumptionToken=NULL") + " | "
+ (set != null ? set : "set=NULL"));
System.out.println(
"getRecords(): " + (query != null ? "queryName=" + query.getName() : "query=NULL") + " | "
......
......@@ -31,9 +31,6 @@ public class RecordListDelivererIDIOM extends RecordListDelivererAbstract {
private static Log log = LogFactory.getLog(OAIPMHImpl.class);
static Map<String, Integer> cursorCollector = new Hashtable<String, Integer>();
private OAI_ESClient oaiEsClient;
private boolean foundItems;
/**
* @param textgrid
* @param dariah
......@@ -134,7 +131,7 @@ public class RecordListDelivererIDIOM extends RecordListDelivererAbstract {
String textgridURI =
OAIPMHUtilities.fieldLoader(new JSONObject(hit.getSourceAsMap()), "textgridUri");
System.out.println(" ## IDIOM URIs: " + textgridURI);
log.debug("IDIOM URIs: " + textgridURI);
// hit.getFields().get("textgridUri").getValue().toString().replace(".0", "");
// System.out.println("Processing: " + textgridURI);
......@@ -167,42 +164,4 @@ public class RecordListDelivererIDIOM extends RecordListDelivererAbstract {
return null;
}
/*
* (non-Javadoc)
*
* @see info.textgrid.middleware.RecordListDelivererAbstract#getOaiEsClient()
*/
public OAI_ESClient getOaiEsClient() {
return this.oaiEsClient;
}
/*
* (non-Javadoc)
*
* @see
* info.textgrid.middleware.RecordListDelivererAbstract#setOaiEsClient(info.textgrid.middleware.
* OAI_ESClient)
*/
public void setOaiEsClient(OAI_ESClient oaiEsClient) {
this.oaiEsClient = oaiEsClient;
}
/*
* (non-Javadoc)
*
* @see info.textgrid.middleware.RecordListDelivererAbstract#isFoundItems()
*/
public boolean isFoundItems() {
return this.foundItems;
}
/*
* (non-Javadoc)
*
* @see info.textgrid.middleware.RecordListDelivererAbstract#setFoundItems(boolean)
*/
public void setFoundItems(boolean foundItems) {
this.foundItems = foundItems;
}
}
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