diff --git a/qendpoint-store/src/main/java/com/the_qa_company/qendpoint/compiler/CompiledSail.java b/qendpoint-store/src/main/java/com/the_qa_company/qendpoint/compiler/CompiledSail.java index d5807865..0b0304bd 100644 --- a/qendpoint-store/src/main/java/com/the_qa_company/qendpoint/compiler/CompiledSail.java +++ b/qendpoint-store/src/main/java/com/the_qa_company/qendpoint/compiler/CompiledSail.java @@ -253,6 +253,11 @@ public void reindexLuceneSail(String index) throws SailException { NotifyingSail oldSail = sail.getBaseSail(); try { sail.setBaseSail(source); + String indexId = sail.getParameter(LuceneSail.INDEX_ID); + if (indexId == null || indexId.isEmpty()) { + indexId = "no id"; + } + logger.info("Reindexing sail: " + indexId); sail.reindex(); } finally { sail.setBaseSail(oldSail);