// reason they are not caught at the parse stage above with SearchQueryException,
// so let's just log and return.
log.log(Level.WARNING, "Problem executing query " + query, e);
return Collections.emptyList();
}
StatusCode responseCode = response.getOperationResult().getCode();
if (!StatusCode.OK.equals(responseCode)) {
throw new IOException("Search fail for query '" + query + "'"
+ ", response: " + responseCode + " " + response.getOperationResult().getMessage());
}
List<UserIndexEntry> entries = Lists.newArrayList();