countRequest.query(source);
} else {
countRequest.query(RestActions.parseQuerySource(request));
}
}
countRequest.queryHint(request.param("query_hint"));
countRequest.routing(request.param("routing"));
countRequest.minScore(request.paramAsFloat("min_score", DEFAULT_MIN_SCORE));
countRequest.types(splitTypes(request.param("type")));
} catch (Exception e) {
try {