lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2374) Create UpdateFileRequestHandler
Date Tue, 22 Feb 2011 22:52:39 GMT

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

Hoss Man commented on SOLR-2374:
--------------------------------

FWIW: There have been historical disscusions about adding features to solr to let people upload/manage
config files and i've always been violently opposed to that being a core part of Solr -- in
general, it would make more more sense to have Solr releases include/suggest some other tool
(ideally a generic webdav.war that could be used in paralele so we didn't take on the maintence
cost of something that is only peripherally associated with olr -- lots of other projects
develope code for acting as a file server, solr should focus on being a search server.

that said: i really don't know much of anything about how config files are/should-be manipulated
in zookeeper using Solr Cloud.  If we're using ZK in a way that is even remotely common, i
have to imagine that there is probably already a project out there for doing CRUD operations
on files in ZK that we could either recommend, or link into the solr.war.  If not, then by
all means we should provide ome means for people to update config files in a "Solr Cloud"

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message