question: run the query given and return one result from it . concode_field_sep Joiner OR_QUERY_JOINER concode_elem_sep Path path concode_elem_sep SolrClient server concode_elem_sep CoreContainer cores concode_elem_sep boolean autocommit concode_elem_sep String WILDCARD_QSTRING concode_elem_sep String CORE_NAME concode_elem_sep SolrMapper mapper concode_elem_sep boolean up concode_elem_sep String FIELD_IS concode_field_sep void init concode_elem_sep Phenotype savePhenotype concode_elem_sep String addStatusFilter concode_elem_sep Phenotype getPhenotypeByIssueNumber concode_elem_sep Phenotype getPhenotype concode_elem_sep void commit concode_elem_sep boolean getAutocommit concode_elem_sep List<Phenotype> searchPhenotypes concode_elem_sep Phenotype getPhenotypeByField concode_elem_sep void setAutocommit concode_elem_sep List<Phenotype> getPhenotypesByStatus concode_elem_sep List<Phenotype> getPhenotypesByField concode_elem_sep String getNextId concode_elem_sep Phenotype getPhenotypeByHpoId concode_elem_sep boolean deletePhenotype concode_elem_sep void checkUp concode_elem_sep void shutdown concode_elem_sep Phenotype getPhenotypeById
target: Phenotype function ( SolrQuery arg0 ) { try { QueryResponse loc0 = server . query ( arg0 ) ; List < SolrDocument > loc1 = loc0 . getResults ( ) ; if ( loc1 . size ( ) == 0 ) { return Phenotype . NULL ; } return mapper . fromDoc ( loc1 . get ( 0 ) ) ; } catch ( SolrServerException loc0 ) { throw new IOException ( loc0 ) ; } }