Community
Participate
Working Groups
It's not possible at the moment to configure a remote server url for a new collection in solr repositories. Seems that we need a rework on the ISolrRepositoryConfigurer API to fix this.
Created attachment 188990 [details] resolves the bug with new API for ISolrRepositoryConfigurer
The attached patch fixes this bug through little changes on ISolrRepositoryConfigurer API and impl. My Tests with a local configuration passed. After configuring a remote solr server in gyrex my indices where created and read successfully. The test server was the example solr server you'll found here: http://apache.openmirror.de//lucene/solr/1.4.1/apache-solr-1.4.1.zip Gunnar, please review my changes, resolve the bug if you want to and let us talk about the next steps.
Comment on attachment 188990 [details] resolves the bug with new API for ISolrRepositoryConfigurer Patch looks good. Please go ahead and commit. Thanks Mike!
fixed with API rework on ISolrRepositoryConfigurer and impl. Removed: void addCollection(String, SolrServerType) - Added void addCollection(String) for embedded server, void addCollection(String, SolrServerType, String) for any other server type