Shinsuke Sugaya 9 éve
szülő
commit
8e4aa4f083

+ 2 - 0
src/main/java/org/codelibs/fess/es/client/FessEsClient.java

@@ -413,6 +413,8 @@ public class FessEsClient implements Client {
 
             final String updatedIndexName;
             if (isFessIndex) {
+                client.admin().indices().prepareRefresh(fessConfig.getIndexDocumentUpdateIndex()).execute()
+                        .actionGet(fessConfig.getIndexIndicesTimeout());
                 final GetIndexResponse response =
                         client.admin().indices().prepareGetIndex().addIndices(fessConfig.getIndexDocumentUpdateIndex()).execute()
                                 .actionGet(fessConfig.getIndexIndicesTimeout());