SolrServer solrServer = null;
try {
solrServer = SolrCoreManager.getInstance(bundleContext, managedSolrServer).getServer(ldProgramName);
solrQuery = SolrQueryUtil.prepareSolrQuery(solrServer, queryTerm);
} catch (StoreException e) {
throw new SearchException(e.getMessage(), e);
} catch (SolrServerException e) {
throw new SearchException(e.getMessage(), e);
} catch (IOException e) {
throw new SearchException(e.getMessage(), e);
}
return executeSolrQuery(solrServer, solrQuery);
}