class SolrQueryExecutor implements QueryExecutor {

    @Override
    public <T, R> R findOne(Query<T, R> query) {
        SolrQuery solrQuery = translate(query);
        solrQuery.setRows(1);
        List<R> list = fetch(solrQuery, query.getReturnType());
        return list.size() > 0 ? list.get(0) : null;
    }

    public  SolrQueryExecutor(SolrServer solrServer,
            SolrQueryTranslator queryTranslator);

}