Re: update solr.xml dynamically to add new cores

2013-06-24 Thread Jan Høydahl
If you wait for Solr 4.4, then there will be a new behavior for solr.xml. It will no longer list the cores, but do auto-discovery, so no need to modify it when you add/remove cores. All you need to do is drop a new core folder in there and Solr will pick it up. See http://wiki.apache.org/solr/S

Re: update solr.xml dynamically to add new cores

2013-06-21 Thread smanad
Gr8! thanks a lot! -- View this message in context: http://lucene.472066.n3.nabble.com/update-solr-xml-dynamically-to-add-new-cores-tp4071800p4072190.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: update solr.xml dynamically to add new cores

2013-06-21 Thread Michael Della Bitta
Yes, that makes sense. It's what I do, anyway! :) Michael Della Bitta Applications Developer o: +1 646 532 3062 | c: +1 917 477 7906 appinions inc. “The Science of Influence Marketing” 18 East 41st Street New York, NY 10017 t: @appinions | g+: plus.google.co

Re: update solr.xml dynamically to add new cores

2013-06-20 Thread smanad
Thanks Michael, both the reasons make sense. Currently I am not planning on using SolrCloud so as you suggested if I can use http://wiki.apache.org/solr/CoreAdmin api. While doing that did you mean running a curl command similar to this, http://localhost:8983/solr/admin/cores?action=CREATE&name=

Re: update solr.xml dynamically to add new cores

2013-06-20 Thread Michael Della Bitta
Hi, I wouldn't edit solr.xml directly for two reasons. One being that an already running Solr installation won't update with changes to that file, and might actually overwrite the changes that you make to it. And two, it's going away in a future release of Solr. Instead, I'd make the package that

update solr.xml dynamically to add new cores

2013-06-19 Thread smanad
Hi, Is there a way to edit solr.xml as a part of debian package installation to add new cores. In my use case, there 4 solr indexes and they are managed/configured by different teams. The way I am thinking packages will work is as described below, 1. There will be a solr-base debian package which