On Jan 24, 2013, at 10:02 AM, Fadi Mohsen <fadi.moh...@gmail.com> wrote:
> Hi, We would like to use Solr to index statistics from any Java module in > our production environment. > > Applications have to can create collections and index data on demand, so my > initial thought is to use different HTTP methods to accomplish a collection > in cluster and then right away start HTTP POST documents, but the issue > here is the schema.xml. > Is it possible to HTTP POST the schema via Solr to Zookeeper? I've done some work towards this at https://issues.apache.org/jira/browse/SOLR-4193 > > Or do I have to know about other service host/IP than SOLR, such as > ZooKeeper (wanted to understand whether there is a way to avoid knowing > about zookeeper in production.)? I wouldn't try to avoid it - it's probably simpler to deal with than you think. It's also pretty easy to use http://wiki.apache.org/solr/SolrCloud#Command_Line_Util to upload a new schema.xml - then just Collections API reload command. Two lines in a script. - Mark