lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Schmidt (JIRA)" <>
Subject [jira] Commented: (SOLR-2374) Create UpdateFileRequestHandler
Date Sun, 20 Feb 2011 21:28:38 GMT


Timo Schmidt commented on SOLR-2374:

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:
>             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:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message