use of org.graylog.plugins.views.search.engine.SearchConfig in project graylog2-server by Graylog2.
the class ElasticsearchBackendTest method generatesSearchForEmptySearchTypes.
@Test
public void generatesSearchForEmptySearchTypes() throws Exception {
final Query query = Query.builder().id("query1").query(ElasticsearchQueryString.of("")).timerange(RelativeRange.create(300)).build();
final Search search = Search.builder().queries(ImmutableSet.of(query)).build();
final SearchJob job = new SearchJob("deadbeef", search, "admin");
backend.generate(job, query, new SearchConfig(Period.ZERO));
}
Aggregations