public SearchSourceBuilder create(SearchesConfig config) {
        return create(SearchCommand.from(config));
    }
@Test
    void searchIncludesTimerange() {
        final SearchSourceBuilder search = this.searchRequestFactory.create(ChunkCommand.builder()
                .indices(Collections.singleton("graylog_0"))
                .range(RANGE)
                .build());

        assertJsonPath(search, request -> {
            request.jsonPathAsListOf("$.query.bool.filter..range.timestamp.from", String.class)
                    .containsExactly("2020-07-23 11:03:32.243");
            request.jsonPathAsListOf("$.query.bool.filter..range.timestamp.to", String.class)
                    .containsExactly("2020-07-23 11:08:32.243");
        });
    }