Search search = SearchBuilder.fromJson(expression).build();
Query query = query(search, command);
Query after = after(search.paging(), command);
Sort sort = sort(search);
if (search.refresh()) {
<BUG>lucene.refresh();
}</BUG>
return (ReadOrderGroup orderGroup) -> read(after, query, sort, command, orderGroup);
}
private Search search(ReadCommand command) {

Search search = SearchBuilder.fromJson(expression).build();
Query query = query(search, command);
Query after = after(search.paging(), command);
Sort sort = sort(search);
if (search.refresh()) {
refresh();
}
return (ReadOrderGroup orderGroup) -> read(after, query, sort, command, orderGroup);
}
private Search search(ReadCommand command) {
