lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Solr: How to create a core from the command line ?
Date Tue, 27 Oct 2009 20:13:53 GMT

: More appropriate would be to use a commandline utility like 'curl' to 
: create the new cores.
: 
:     curl 'http://production.example.com:8080/solr/admin/cores?rest-of-request'

More specificly: HTTP is the only way to admin a Solr port while running.  
All of the existing scripts htat come with solr (commit, optimize, etc...) 
are just shell wrappers arround curl commands that hit the default URL for 
those operations.





-Hoss


Mime
View raw message