Re: Loading resources from Zookeeper using SolrCloud API

2014-01-24 Thread Mark Miller
The best way is to use the ResourceLoader without relying on ResourceLoader#getConfigDir (which will fail in SolrCloud mode). For example, see openSchema, openConfig, openResource. If you use these API’s, your code will work both with those files being on the local filesystem for non SolrCloud

Loading resources from Zookeeper using SolrCloud API

2014-01-24 Thread Ugo Matrangolo
Hi, we have a quite large SOLR 3.6 installation and we are trying to update to 4.6.x. One of the main point in doing this is to get SolrCloud and centralized configuration using Zookeeper. Unfortunately, some custom code we have (custom indexer extending org.apache.solr.handler.dataimport.Entity