@Test public void getXWikiClient() throws Exception { Solr instance = this.componentManager.getInstance(Solr.class); SolrClient client = instance.getClient("search"); assertNotNull(client); client.add(new SolrInputDocument("id", "42")); SolrDocument storedDocument = client.getById("42"); assertNotNull(storedDocument); }
@Override public SolrClient getClient(String name) throws SolrException { return this.configuredSolr.getClient(name); }
DefaultSolr implements Solr, Initializable { @Override public SolrClient getClient(String name) throws SolrException { return this.configuredSolr.getClient(name); } }
DefaultSolr implements Solr, Initializable { @Override public SolrClient getClient(String name) throws SolrException { return this.configuredSolr.getClient(name); }  }
DefaultSolr implements Solr, Initializable { @Override public SolrClient getClient(String name) throws SolrException { return this.configuredSolr.getClient(name); }  @Override void initialize(); @Override SolrClient getClient(String name); }
DefaultSolr implements Solr, Initializable { @Override public SolrClient getClient(String name) throws SolrException { return this.configuredSolr.getClient(name); }  @Override void initialize(); @Override SolrClient getClient(String name);  }