[ 
https://issues.apache.org/jira/browse/SOLR-5432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817444#comment-13817444
 ] 

Erick Erickson commented on SOLR-5432:
--------------------------------------

Well, this might be a short-lived JIRA. I looked at the managed schema code and 
chatted with Steve Rowe. It _looks_ like it would be relatively 
straight-forward to leverage the managed schema infrastructure to allow for 
CRUD on arbitrary files at least in the conf directory. On a quick glance it 
doesn't appear to be much, if any, more work than the "simple" way of doing 
things. And it would get us SolrCloud support "for free" or at least using 
prior art.

We'll be able to look at this a bit more next week.

Any red flags here? It seems like schema.xml lends itself to a whole series of 
specific calls, the addfield, updatefield, copyfield sort of thing but the 
other files don't really, they're more blobs.

Which does leave us with the question of how the managed index schema for 
schema.xml should play if we also have generic file CRUD operations. Does it 
make sense to prevent the managed-file manipulation of schema.xml if they have 
configured the managed schema option? My personal take is that, barring having 
a hard time making this happen in the code, that the two options are not 
mutually exclusive and we shouldn't worry about it.

> Allow simple editing for solrconfig.xml and schema.xml from the admin 
> interface
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-5432
>                 URL: https://issues.apache.org/jira/browse/SOLR-5432
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.6, 5.0
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>
> [~steffkes] OK, let's see if we can make the simple case work as per the 
> discussion in SOLR-5287 and reserve the rest of the enhancements for later?
> I'll try to create an end-point Real Soon Now and we can try it out. This 
> will be the simple case of just writing basically anything in the conf 
> directory. Specifically _excluding_ anything in the sub-directories for the 
> time being.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to