Skip to content

Commit 182395b

Browse files
author
Jorgen-5
committed
Remove refresh
1 parent 271164c commit 182395b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

klass-api/src/main/java/no/ssb/klass/api/services/IndexServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public void indexSync(ClassificationSeries classification) {
137137
.filter(language -> !classification.getName(language).isEmpty())
138138
.forEach(language -> indexLanguage(classification, language));
139139

140-
elasticsearchOperations.indexOps(getIndexCoordinates()).refresh();
140+
elasticsearchOperations.indexOps(getIndexCoordinates());
141141
log.info("Indexing: {} took (ms): {}", classification.getNameInPrimaryLanguage(),
142142
TimeUtil.millisecondsSince(start));
143143
}

0 commit comments

Comments
 (0)