@Retryable(DataAccessResourceFailureException.class)
    @CacheEvict(value = CACHE_AVERAGE_REVIEW_RATING, allEntries = true)
    public void updateSearchIndex() {
        if (!isEnabled()) {
            return;
        }
        var stopWatch = new StopWatch();
        stopWatch.start();
        updateSearchIndex(false);
        stopWatch.stop();
        logger.info("Updated search index in " + stopWatch.getTotalTimeMillis() + " ms");
    }
@Test
    public void testSoftUpdateExists() {
        var index = mockIndex(true);
        mockExtensions();
        search.updateSearchIndex(false);

        assertThat(index.created).isFalse();
        assertThat(index.deleted).isFalse();
        assertThat(index.entries).hasSize(3);
    }