Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 60542 invoked from network); 21 Feb 2011 13:54:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Feb 2011 13:54:05 -0000 Received: (qmail 46965 invoked by uid 500); 21 Feb 2011 13:54:04 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 45347 invoked by uid 500); 21 Feb 2011 13:54:02 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 45295 invoked by uid 99); 21 Feb 2011 13:54:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Feb 2011 13:54:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Feb 2011 13:53:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9DB221B0737 for ; Mon, 21 Feb 2011 13:53:38 +0000 (UTC) Date: Mon, 21 Feb 2011 13:53:38 +0000 (UTC) From: "Mark Miller (JIRA)" To: dev@lucene.apache.org Message-ID: <553000186.5826.1298296418642.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <670076401.30.1298019758460.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (SOLR-2374) Create UpdateFileRequestHandler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997409#comment-12997409 ] Mark Miller commented on SOLR-2374: ----------------------------------- Nice - I've been meaning to do something like this since writing ZKSolrResourceLoader - for the timing being, I'd chosen to work around it in code outside of Solr. I will def take a closer look at this patch soon. > 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