From 44c660697c1a58136f8774f849d7029253224655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Thu, 7 Nov 2024 11:55:12 +0100 Subject: [PATCH] Revert "Reduce side of bulks when indexing in dev, tests and prod" This reverts commit c24d1804c6edf05e518ab27b8c6740df362ccf05. --- src/main/resources/application.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 97c6722..accff17 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -72,10 +72,10 @@ quarkus.hibernate-search-standalone.elasticsearch.version=${maven.distribution.s quarkus.elasticsearch.devservices.image-name=${maven.name.search.backend}:${maven.version.search.backend} quarkus.elasticsearch.devservices.java-opts=${PROD_ES_JAVA_OPTS} # Limit parallelism of indexing, because the search backend can only handle so many documents in its buffers. -# This leads to at most 8*12=96 documents being indexed in parallel, which should be plenty +# This leads to at most 8*20=160 documents being indexed in parallel, which should be plenty # given how large our documents can be. INDEXING_QUEUE_COUNT=8 -INDEXING_BULK_SIZE=12 +INDEXING_BULK_SIZE=20 quarkus.hibernate-search-standalone.elasticsearch.indexing.queue-count=${INDEXING_QUEUE_COUNT} quarkus.hibernate-search-standalone.elasticsearch.indexing.max-bulk-size=${INDEXING_BULK_SIZE} # We need to apply a custom search backend mapping to exclude very large fields from the _source