lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Editing schema and solrconfig files
Date Wed, 09 Nov 2016 22:20:06 GMT
We had the bright idea of allowing editing of the config files through
the UI... but the ability to upload arbitrary XML is a security
vulnerability, so that idea was nixed.

The solr/bin script has an upconfig and downconfig command that are (I
hope) easier to use than zkcli, I think from 5.5. In Solr 6.2 the
solr/bin script has been enhanced to allow other ZK operations. Not
quite what you were looking for, but I thought I'd mention it.

There are some ZK clients out there that'll let you edit files
directly in ZK, and I know IntelliJ also has a plugin that'll allow
you to do that from the IDE, don't know about Eclipse but I expect it

I usually edit them locally and set up a shell script to push them up
as necessary...


On Wed, Nov 9, 2016 at 2:09 PM, John Bickerstaff
<> wrote:
> I never found a way to do it through the UI... and ended up using "nano" on
> linux for simple things.
> For more complex stuff, I scp'd the file (or the whole conf directory) up
> to my dev box (a Mac in my case) and edited in a decent UI tool, then scp'd
> the whole thing back...  I wrote a simple bash script to automate the scp
> process on both ends once I got tired of typing it over and over...
> On Wed, Nov 9, 2016 at 3:05 PM, Reth RM <> wrote:
>> What are some easiest ways to edit/modify/add conf files, such as
>> solrconfig.xml and schema.xml other than APIs end points or using zk
>> commands to re-upload modified file?
>> In other words, can we edit conf files through solr admin (GUI)
>> interface(add new filed by click on button or add new request handler on
>> click?)  with feature of enabling/disabling same feature as required?

View raw message