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

fix: correct oaiEsClient name

parent 347a1165
No related branches found
No related tags found
No related merge requests found
Pipeline #318976 passed
...@@ -43,7 +43,7 @@ public class SetListDeliverer { ...@@ -43,7 +43,7 @@ public class SetListDeliverer {
private boolean textgrid; private boolean textgrid;
private boolean dariah; private boolean dariah;
private OAI_ESClient esClient; private OAI_ESClient oaiEsClient;
/** /**
* @param oaiEsClient * @param oaiEsClient
...@@ -64,7 +64,7 @@ public class SetListDeliverer { ...@@ -64,7 +64,7 @@ public class SetListDeliverer {
ListSetsType setList = new ListSetsType(); ListSetsType setList = new ListSetsType();
SearchRequest request = new SearchRequest(this.esClient.getEsIndex()); SearchRequest request = new SearchRequest(this.oaiEsClient.getEsIndex());
SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder(); SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder();
searchSourceBuilder.size(0); searchSourceBuilder.size(0);
...@@ -119,7 +119,7 @@ public class SetListDeliverer { ...@@ -119,7 +119,7 @@ public class SetListDeliverer {
// Get items with TG or DH request. // Get items with TG or DH request.
SearchResponse getRecordListItems = null; SearchResponse getRecordListItems = null;
try { try {
getRecordListItems = this.esClient.getEsClient().search(request, RequestOptions.DEFAULT); getRecordListItems = this.oaiEsClient.getEsClient().search(request, RequestOptions.DEFAULT);
} catch (IOException e) { } catch (IOException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
...@@ -343,15 +343,15 @@ public class SetListDeliverer { ...@@ -343,15 +343,15 @@ public class SetListDeliverer {
/** /**
* @return * @return
*/ */
public OAI_ESClient getEsClient() { public OAI_ESClient getOaiEsClient() {
return this.esClient; return this.oaiEsClient;
} }
/** /**
* @param esClient * @param oaiEsClient
*/ */
public void setEsClient(OAI_ESClient esClient) { public void setOaiEsClient(OAI_ESClient oaiEsClient) {
this.esClient = esClient; this.oaiEsClient = oaiEsClient;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment