Re: Editing schema and solrconfig files
Oh, and of course there's the whole managed schema capabilities where you use API end points to modify the schema file and a similar for some parts of solrconfig.xml. That said, though, for any kind of serious installation I'd still be pulling the modified configs off of ZK and putting them in source code control. If you're not going to create a UI to manipulate the schema, I find just using the scripts or zkcli about as fast. Best, Erick On Mon, Nov 14, 2016 at 2:22 PM, Reth RM wrote: > There's a way to add/update/delete schema fields, this is helpful. > https://jpst.it/Pqqz > although no way to add field-Type > > On Wed, Nov 9, 2016 at 2:20 PM, Erick Erickson > wrote: > >> 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 >> does. >> >> I usually edit them locally and set up a shell script to push them up >> as necessary... >> >> FWIW, >> Erick >> >> 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? >> >> >>
Re: Editing schema and solrconfig files
There's a way to add/update/delete schema fields, this is helpful. https://jpst.it/Pqqz although no way to add field-Type On Wed, Nov 9, 2016 at 2:20 PM, Erick Erickson wrote: > 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 > does. > > I usually edit them locally and set up a shell script to push them up > as necessary... > > FWIW, > Erick > > 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? > >> >
Re: Editing schema and solrconfig files
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 does. I usually edit them locally and set up a shell script to push them up as necessary... FWIW, Erick 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? >>
Re: Editing schema and solrconfig files
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? >
Editing schema and solrconfig files
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?