public SearchSourceBuilder create(SearchesConfig config) {
        return create(SearchCommand.from(config));
    }
@Test
    void searchIncludesSearchFilters() {
        final SearchSourceBuilder search = this.searchRequestFactory.create(ChunkCommand.builder()
                .filters(Collections.singletonList(InlineQueryStringSearchFilter.builder()
                        .title("filter 1")
                        .queryString("test-filter-value")
                        .build()))
                .indices(Collections.singleton("graylog_0"))
                .range(RANGE)
                .batchSize(BATCH_SIZE)
                .build());

        assertThat(search.toString()).contains(TEST_SEARCH_FILTERS_STRING);
    }