Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 78034 invoked from network); 14 May 2009 01:51:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 01:51:12 -0000 Received: (qmail 90365 invoked by uid 500); 14 May 2009 01:51:11 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 90299 invoked by uid 500); 14 May 2009 01:51:11 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 89939 invoked by uid 99); 14 May 2009 01:51:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 01:51:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 01:51:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 86837234C004 for ; Wed, 13 May 2009 18:50:45 -0700 (PDT) Message-ID: <1675651500.1242265845539.JavaMail.jira@brutus> Date: Wed, 13 May 2009 18:50:45 -0700 (PDT) From: "Otis Gospodnetic (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1147) QueryElevationComponent : updating elevate.xml through HTTP In-Reply-To: <917997570.1241613270657.JavaMail.jira@brutus> 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-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709241#action_12709241 ] Otis Gospodnetic commented on SOLR-1147: ---------------------------------------- I'm +1 for the idea of being able to push elevate config (and really other config files, too!) from a remote system into Solr. I only skimmed the patch. It would be good to add a unit test. Could you do that? You'll also want to add the ASL on top of the source code. It may also be good to remove eZ publish references from the Javadoc (having that in the javadoc doesn't really help developers using Solr) Is that "" at the end of QueryElevationAdministrationRequestHandler.class + "" really needed? Please note the bit about the code formatting here: http://wiki.apache.org/solr/HowToContribute#head-59ae13df098fbdcc46abdf980aa8ee76d3ee2e3b Thanks! > QueryElevationComponent : updating elevate.xml through HTTP > ----------------------------------------------------------- > > Key: SOLR-1147 > URL: https://issues.apache.org/jira/browse/SOLR-1147 > Project: Solr > Issue Type: Improvement > Affects Versions: 1.3, 1.4, 1.5 > Environment: Any > Reporter: Nicolas Pastorino > Priority: Minor > Attachments: QueryElevationAdministrationRequestHandler.java, QueryElevationAdministrationRequestHandler.java > > > If one wants to update the configuration file for the QueryElevationComponent, direct edition of the file is mandatory. Currently the process seems to be : > # Replace elevate.xml in Solr's dataDir > # Commit. It appears that when having elevate.xml in Solr's dataDir, and solely in this case, commiting triggers a reload of elevate.xml. This does not happen when elevate.xml is stored in Solr's conf dir. > As a system using Solr, i would find handy to be able to push an updated elevate.xml file/XML through HTTP, with an automatic reload of it. This would remove the currently mandatory requirement of having a direct access to the elevate.xml file, allowing more distributed architectures. This would also increase the Query Elevation system's added value by making it dynamic, configuration-wise. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.