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

Timo Schmidt commented on SOLR-2374:
------------------------------------

Ok cool, this is only a first proposal, in my opinion it would be good to 
refactor the resourceLoader to have a resourceManager with the methods 
hasResource(), readResource() and writeResource(), which is implemented 
diffrent for zooKeeper and local files. As soon as i have some time, i'll try 
to refactor that.

> Create UpdateFileRequestHandler
> -------------------------------
>
>                 Key: SOLR-2374
>                 URL: https://issues.apache.org/jira/browse/SOLR-2374
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>    Affects Versions: 1.4.1
>            Reporter: Timo Schmidt
>              Labels: config, file, patch, upload
>             Fix For: Next
>
>         Attachments: UpdateFileRequestHandler.patch, patchV2.diff
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> It would be nice to be able to update files like synonyms.txt and 
> stopwords.txt with a seperrat request handler. Since i am very new to solr 
> development i've prepared a patch with a new UpdateFileRequest handler. Maybe 
> it would be good to refactor the existing fileRequestHandler.
> Currently it is implemented that you need to whitelist all files which should 
> be editable. I think this is better for security reasons.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to