From b9122a421e437fbcf7aec27777a9e3a81a20c879 Mon Sep 17 00:00:00 2001
From: Maximilian Behnert-Brodhun <behnert-brodhun@sub.uni-goettingen.de>
Date: Fri, 2 Jul 2021 12:03:34 +0200
Subject: [PATCH] index for idiomMetsMods to nonpublic

---
 .../java/info/textgrid/middleware/RecordDelivererIDIOM.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oaipmh-core/src/main/java/info/textgrid/middleware/RecordDelivererIDIOM.java b/oaipmh-core/src/main/java/info/textgrid/middleware/RecordDelivererIDIOM.java
index 51e8adaf..c8fd6839 100644
--- a/oaipmh-core/src/main/java/info/textgrid/middleware/RecordDelivererIDIOM.java
+++ b/oaipmh-core/src/main/java/info/textgrid/middleware/RecordDelivererIDIOM.java
@@ -80,7 +80,7 @@ public class RecordDelivererIDIOM extends RecordDelivererAbstract {
     }
 
     GetRequest getRequest =
-        new GetRequest(OAI_ESClient.getEsIndex(), OAI_ESClient.getEsType(), changedId)
+        new GetRequest("textgrid-nonpublic", OAI_ESClient.getEsType(), changedId)
             .fetchSourceContext(fetchSourceContext);
     GetResponse objectInDatabase = null;
 
-- 
GitLab