[ https://issues.apache.org/jira/browse/SOLR-8131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948364#comment-14948364 ]
Noble Paul edited comment on SOLR-8131 at 10/8/15 9:31 AM: ----------------------------------------------------------- [~upayavira] why do you think the people will resist moving to the new admin UI. I don't remember seeing any discussion where people are opposed to it. bq. I'm NOT knocking it as an API call, it's a perfectly fine API, but I'm sure not going to be happy typing it out 100 times for adding 100 fields to my schema. Or writing a script..... I see the pain [~erickerickson] . Apart from what is proposed in SOLR-8139 , we should add a {{modify-field}} command where you can just update one value of the field e.g {code} curl -X POST -H 'Content-type:application/json' --data-binary '{ "modify-field": { "name":"sell-by", "stored":true } }' http://localhost:8983/solr/gettingstarted/schema {code} We should provide a simple admin page where I can type arbitrary commands to an endpoint . So all I need to do is type {code} { "modify-field": { "name":"sell-by", "stored":true } } {code} We plan to support hocon as well. so all you need to type would be {code} modify-field {name:sell-by, stored:true} {code} was (Author: noble.paul): [~upayavira] why do you think the people will resist moving to the new admin UI. I don't remember seeing any discussion where people are opposed to it. bq. I'm NOT knocking it as an API call, it's a perfectly fine API, but I'm sure not going to be happy typing it out 100 times for adding 100 fields to my schema. Or writing a script..... I see the pain [~erickerickson] . Apart from what is proposed in SOLR-8139 , we should add a {{modify-field}} command where you can just update one value of the field e.g {code} curl -X POST -H 'Content-type:application/json' --data-binary '{ "add-field": { "name":"sell-by", "stored":true } }' http://localhost:8983/solr/gettingstarted/schema {code} We should provide a simple admin page where I can type arbitrary commands to an endpoint . So all I need to do is type {code} { "modify-field": { "name":"sell-by", "stored":true } } {code} We plan to support hocon as well. so all you need to type would be {code} modify-field {name:sell-by, stored:true} {code} > Make ManagedIndexSchemaFactory as the default in Solr > ----------------------------------------------------- > > Key: SOLR-8131 > URL: https://issues.apache.org/jira/browse/SOLR-8131 > Project: Solr > Issue Type: Wish > Components: Data-driven Schema, Schema and Analysis > Reporter: Shalin Shekhar Mangar > Labels: difficulty-easy, impact-high > Fix For: 5.4, Trunk > > > The techproducts and other examples shipped with Solr all use the > ClassicIndexSchemaFactory which disables all Schema APIs which need to modify > schema. It'd be nice to be able to support both read/write schema APIs > without needing to enable data-driven or schema-less mode. > I propose to change all 5.x examples to explicitly use > ManagedIndexSchemaFactory and to enable ManagedIndexSchemaFactory by default > in trunk (6.x). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org