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

Timo Schmidt edited comment on SOLR-2374 at 2/20/11 9:30 PM:
-------------------------------------------------------------

Hello together, today i had a look at the code and currently i have one 
proposal:

Currently there is SolrResourceLoader and ZKSolrResourceLoader, which handle 
the resource loading for normal solr and zookeeper solr (openResource). What do 
you thing of refactoring the resourceLoader to a resourceManager, with the 
possibility to open resources for reading and writing. But afaik openResource 
is also used to open jar files and i think it should not be possible to write 
these files for security reasons.

What do you think?

      was (Author: timo.schmidt):
    Hello together, today i had a look at the code and currently i have one 
proposal:

Currently there is SolrResourceLoader and ZKSolrResourceLoader, which handle 
the resource loading for normal solr and zookeeper solr (openResource). What do 
you thing of refactoring the resourceLoader to a resourceManager, with the 
possibility to open resources for reading and writing. But afaik openResource 
is also used to open jar files and i thing it should not be possible to write 
these files for security reasons.

What do you think?
  
> 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
>
>   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