Skip to content

Commit 0878078

Browse files
committed
test smaller index
1 parent f58aaf9 commit 0878078

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/search/SearchIndexPopulator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class SearchIndexPopulator implements CommandLineRunner {
3232
public void run(String... args) {
3333
CompletableFuture.runAsync(() -> {
3434
List<Long> ids = classificationSeriesRepository.findAllClassificationIds();
35-
List<Long> testIds = ids.stream().limit(5).toList();
35+
List<Long> testIds = ids.stream().limit(1).toList();
3636
log.info("Starting to index {} classifications", ids.size());
3737
testIds.forEach(searchService::indexAsync);
3838
log.info("Finished indexing for {} classifications", ids.size());

0 commit comments

Comments
 (0)