);
QueryThenFetchNode node = new QueryThenFetchNode(new Routing(),
ImmutableList.<Symbol>of(), null, null, null, null, null, new WhereClause(whereClause), null);
BytesReference bytesReference = generator.convert(node);
assertThat(bytesReference.toUtf8(),
is("{\"_source\":false,\"query\":{\"match_all\":{}},\"min_score\":0.4,\"from\":0,\"size\":10000}"));
}
@Test
public void testConvertESSearchNode() throws Exception {