From solr-ejohnson@example.net Wed Nov 01 16:34:40 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 64225 invoked from network); 1 Nov 2006 16:34:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 16:34:39 -0000 Received: (qmail 60752 invoked by uid 500); 1 Nov 2006 16:34:50 -0000 Delivered-To: ejohnson@example.net Received: (qmail 60733 invoked by uid 500); 1 Nov 2006 16:34:50 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 60724 invoked by uid 99); 1 Nov 2006 16:34:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:34:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:34:38 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 918607142BF for <ejohnson@example.net>; Wed, 1 Nov 2006 08:34:17 -0800 (PST) Message-ID: <22599682.1162398857572.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 08:34:17 -0800 (PST) From: "Bertrand Delacretaz (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Commented: (SOLR-59) Copy request parameters to Solr's response In-Reply-To: <28605153.1161706276504.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/SOLR-59?page=comments#action_12446297 ] Bertrand Delacretaz commented on SOLR-59: ----------------------------------------- Coming back to this according to the mailing list discussions (http://marc.theaimsgroup.com/?t=116167803100001&r=1&w=2), here's a slightly modified plan: 1. Add a "headers" NamedList to SolrQueryResponse, to hold values that are meant for the responseHeader, makes these values available to all QueryResponseWriters. 2. Have SolrCore put the computed "qtime" value in there (along with other stats if needed) instead of computing it in the QueryResponseWriter. 3. In SolrCore.execute(), call a method to copy (if so configured) the explicit request parameters to a nested NamedList stored in the above "headers" NamedList. If people need more than the explicit parameters, this would be the place to change later on, but right now this will be explicit params only. 4. In QueryResponseWriters, implement generic code to copy the "headers" NamedList to the output I think this puts everything in the right place - comments are welcome of course. > Copy request parameters to Solr's response > ------------------------------------------ > > Key: SOLR-59 > URL: http://issues.apache.org/jira/browse/SOLR-59 > Project: Solr > Issue Type: Improvement > Reporter: Bertrand Delacretaz > Attachments: SOLR-59-20061024.patch > > > This patch copies the request parameters (explicit ones only, not the defaults) to Solr's XML output. > It is not configurable yet, it is enabled by default and adds a "queryParameters" list to the responseHeader: > <responseHeader> > <status>0</status> > <QTime>1</QTime> > <lst name="queryParameters"> > <arr name="multi"> > <str>red</str> > <str>blue</str> > </arr> > <str name="rows">10</str> > <str name="start">0</str> > <str name="indent">on</str> > <str name="q">solr</str> > <str name="stylesheet"/> > <str name="version">2.1</str> > </lst> > </responseHeader> > The above example includes a multi-valued parameter, "multi". > This might still change a bit, but if someone wants to play with it or improve it, here you go. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Wed Nov 01 18:12:51 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 5590 invoked from network); 1 Nov 2006 18:12:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 18:12:45 -0000 Received: (qmail 87174 invoked by uid 500); 1 Nov 2006 18:12:50 -0000 Delivered-To: ejohnson@example.net Received: (qmail 87124 invoked by uid 500); 1 Nov 2006 18:12:50 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 87091 invoked by uid 99); 1 Nov 2006 18:12:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:12:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:12:38 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id D8CBF7142DC for <ejohnson@example.net>; Wed, 1 Nov 2006 10:12:17 -0800 (PST) Message-ID: <22592815.1162404737885.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 10:12:17 -0800 (PST) From: "Yonik Seeley (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Created: (SOLR-60) Remove overwritePending, overwriteCommitted flags? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Remove overwritePending, overwriteCommitted flags? -------------------------------------------------- Key: SOLR-60 URL: http://issues.apache.org/jira/browse/SOLR-60 Project: Solr Issue Type: Improvement Components: update Reporter: Yonik Seeley Priority: Minor The overwritePending, overwriteCommitted, allowDups flags seem needlessly complex and don't add much value. Do people need/use separate control over pending vs committed documents? Perhaps all most people need is overwrite=true/false? overwritePending, overwriteCommitted were originally added because it was a (mis)feature that another internal search tool had. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Wed Nov 01 18:17:54 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 8112 invoked from network); 1 Nov 2006 18:17:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 18:17:53 -0000 Received: (qmail 3459 invoked by uid 500); 1 Nov 2006 18:18:04 -0000 Delivered-To: ejohnson@example.net Received: (qmail 3431 invoked by uid 500); 1 Nov 2006 18:18:04 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 3422 invoked by uid 99); 1 Nov 2006 18:18:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:18:04 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ejohnson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:17:51 -0800 Received: by ug-out-1314.google.com with SMTP id k40so1873306ugc for <ejohnson@example.net>; Wed, 01 Nov 2006 10:17:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kP4oCy+Gtqutty/b7KmKbr/RuH3rA75doaGJOKDtY/wVONLdQkLSsFZ62YT7GP5UeFpJVBdxKf43sG9ug/KAWJcpFG4e0t6xB0COvNBx4ljEkoCPocJ2h8V7MfP/+mXViF2RixCsDL/soYdN90+VICfPbUFfOmM7fsMW4CW4fB0= Received: by 83.161.120.155 with SMTP id a15mr9314243hud; Wed, 01 Nov 2006 10:17:28 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 10:17:28 -0800 (PST) Message-ID: <ejohnson@example.net> Date: Wed, 1 Nov 2006 10:17:28 -0800 From: "Mike Klaas" <ejohnson@example.net> To: ejohnson@example.net Subject: Re: [jira] Created: (SOLR-60) Remove overwritePending, overwriteCommitted flags? In-Reply-To: <22592815.1162404737885.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <22592815.1162404737885.JavaMail.root@brutus> X-Virus-Checked: Checked by ClamAV on apache.org +1 On 11/1/06, Yonik Seeley (JIRA) <ejohnson@example.net> wrote: > Remove overwritePending, overwriteCommitted flags? > -------------------------------------------------- > > Key: SOLR-60 > URL: http://issues.apache.org/jira/browse/SOLR-60 > Project: Solr > Issue Type: Improvement > Components: update > Reporter: Yonik Seeley > Priority: Minor > > > The overwritePending, overwriteCommitted, allowDups flags seem needlessly complex and don't add much value. Do people need/use separate control over pending vs committed documents? > > Perhaps all most people need is overwrite=true/false? > > overwritePending, overwriteCommitted were originally added because it was a (mis)feature that another internal search tool had. > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa > - > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > From solr-ejohnson@example.net Wed Nov 01 18:19:10 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 8867 invoked from network); 1 Nov 2006 18:19:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 18:19:09 -0000 Received: (qmail 4907 invoked by uid 500); 1 Nov 2006 18:19:20 -0000 Delivered-To: ejohnson@example.net Received: (qmail 4888 invoked by uid 500); 1 Nov 2006 18:19:20 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 4879 invoked by uid 99); 1 Nov 2006 18:19:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:19:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ejohnson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mx2.netflix.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:19:02 -0800 Received: from message.netflix.com (exchangeav [83.161.120.155]) by mx2.netflix.com (83.161.120.15560308/8.12.11) with ESMTP id kA1IIRPL002087 for <ejohnson@example.net>; Wed, 1 Nov 2006 10:18:29 -0800 Received: from Superfly.netflix.com ([83.161.120.155]) by message.netflix.com with Microsoft SMTPSVC(401)601-6783); Wed, 1 Nov 2006 10:18:39 -0800 Received: from 83.161.120.155 ([83.161.120.155]) by superfly.netflix.com ([83.161.120.155]) with Microsoft Exchange Server HTTP-DAV ; Wed, 1 Nov 2006 18:18:39 +0000 User-Agent: Microsoft-Entourage/83.161.120.155620 Date: Wed, 01 Nov 2006 10:20:44 -0700 Subject: Re: [jira] Created: (SOLR-60) Remove overwritePending, overwriteCommitted flags? From: Walter Underwood <ejohnson@example.net> To: <ejohnson@example.net> Message-ID: <ejohnson@example.net> Thread-Topic: [jira] Created: (SOLR-60) Remove overwritePending, overwriteCommitted flags? Thread-Index: Acb94nHHsAuN/mnVEdu6HgAUUTF+rA== In-Reply-To: <ejohnson@example.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 01 Nov 2006 18:18:39.0326 (UTC) FILETIME=[277827E0:01C6FDE2] X-Language-Identified: TRUE X-Virus-Checked: Checked by ClamAV on apache.org +1 as well. --wunder On 11/1/06 11:17 AM, "Mike Klaas" <ejohnson@example.net> wrote: > +1 > > On 11/1/06, Yonik Seeley (JIRA) <ejohnson@example.net> wrote: >> Remove overwritePending, overwriteCommitted flags? >> -------------------------------------------------- >> >> Key: SOLR-60 >> URL: http://issues.apache.org/jira/browse/SOLR-60 >> Project: Solr >> Issue Type: Improvement >> Components: update >> Reporter: Yonik Seeley >> Priority: Minor >> >> >> The overwritePending, overwriteCommitted, allowDups flags seem needlessly >> complex and don't add much value. Do people need/use separate control over >> pending vs committed documents? >> >> Perhaps all most people need is overwrite=true/false? >> >> overwritePending, overwriteCommitted were originally added because it was a >> (mis)feature that another internal search tool had. >> >> -- >> This message is automatically generated by JIRA. >> - >> If you think it was sent incorrectly contact one of the administrators: >> http://issues.apache.org/jira/secure/Administrators.jspa >> - >> For more information on JIRA, see: http://www.atlassian.com/software/jira >> >> >> From solr-ejohnson@example.net Wed Nov 01 18:20:38 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 9335 invoked from network); 1 Nov 2006 18:20:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 18:20:38 -0000 Received: (qmail 10433 invoked by uid 500); 1 Nov 2006 18:20:48 -0000 Delivered-To: ejohnson@example.net Received: (qmail 10417 invoked by uid 500); 1 Nov 2006 18:20:48 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 10408 invoked by uid 99); 1 Nov 2006 18:20:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:20:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:20:36 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 802067142BF for <ejohnson@example.net>; Wed, 1 Nov 2006 10:20:16 -0800 (PST) Message-ID: <4468543.1162405216504.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 10:20:16 -0800 (PST) From: "Yonik Seeley (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Created: (SOLR-61) move XML update parsing out of SolrCore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org move XML update parsing out of SolrCore --------------------------------------- Key: SOLR-61 URL: http://issues.apache.org/jira/browse/SOLR-61 Project: Solr Issue Type: Improvement Reporter: Yonik Seeley Priority: Minor The XML parsing in SolrCore should be decoupled and moved out. We also might consider moving to StAX based parsing, as it is now a standard and will be included in Java6 (Woodstox could be used for Java5). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Wed Nov 01 18:40:38 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 15479 invoked from network); 1 Nov 2006 18:40:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 18:40:37 -0000 Received: (qmail 65654 invoked by uid 500); 1 Nov 2006 18:40:48 -0000 Delivered-To: ejohnson@example.net Received: (qmail 65630 invoked by uid 500); 1 Nov 2006 18:40:48 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 65621 invoked by uid 99); 1 Nov 2006 18:40:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:40:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 10:40:36 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 9102A7142C1 for <ejohnson@example.net>; Wed, 1 Nov 2006 10:40:16 -0800 (PST) Message-ID: <17449944.1162406416591.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 10:40:16 -0800 (PST) From: "Yonik Seeley (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Created: (SOLR-62) scripts don't check return code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org scripts don't check return code ------------------------------- Key: SOLR-62 URL: http://issues.apache.org/jira/browse/SOLR-62 Project: Solr Issue Type: Bug Components: replication Reporter: Yonik Seeley Priority: Minor Solr scripts that post commands to solr don't check the return code. The scripts (like optimize) currently follow this pattern: rs=`curl http://localhost:5051/update -s -d "<optimize/>"` if [[ $? != 0 ]] then [...] fi # check status of optimize request rc=`echo $rs|cut -f2 -d'"'` if [[ $? != 0 ]] then [...] $rc is never checked. In addition, the line that grabs rc appears pretty fragile by depending on an exact field column. Unless we have a simple command line XML parser, how about checking for the return code this way: echo $rs | grep '<response.*status="0"' > /dev/null 2>&1 if [[ $? != 0 ]] then [...] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Wed Nov 01 19:05:33 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 26986 invoked from network); 1 Nov 2006 19:05:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 19:05:33 -0000 Received: (qmail 18588 invoked by uid 500); 1 Nov 2006 19:05:44 -0000 Delivered-To: ejohnson@example.net Received: (qmail 18570 invoked by uid 500); 1 Nov 2006 19:05:43 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 18561 invoked by uid 99); 1 Nov 2006 19:05:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 11:05:43 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO rescomp.berkeley.edu) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 11:05:28 -0800 Received: by rescomp.berkeley.edu (Postfix, from userid 1007) id 0CFDB5B78B; Wed, 1 Nov 2006 11:05:07 -0800 (PST) Received: from localhost (localhost [83.161.120.155]) by rescomp.berkeley.edu (Postfix) with ESMTP id 0866B7F403 for <ejohnson@example.net>; Wed, 1 Nov 2006 11:05:07 -0800 (PST) Date: Wed, 1 Nov 2006 11:05:07 -0800 (PST) From: Chris Hostetter <ejohnson@example.net> To: ejohnson@example.net Subject: Re: [jira] Commented: (SOLR-59) Copy request parameters to Solr's response In-Reply-To: <22599682.1162398857572.JavaMail.root@brutus> Message-ID: <ejohnson@example.net> References: <22599682.1162398857572.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : I think this puts everything in the right place - comments are welcome of course. I don't have a strong opinion about the QTime, but all the rest sounds great. -Hoss From solr-ejohnson@example.net Wed Nov 01 20:20:02 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 67392 invoked from network); 1 Nov 2006 20:20:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 20:20:02 -0000 Received: (qmail 96030 invoked by uid 500); 1 Nov 2006 20:20:13 -0000 Delivered-To: ejohnson@example.net Received: (qmail 96006 invoked by uid 500); 1 Nov 2006 20:20:13 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 95984 invoked by uid 99); 1 Nov 2006 20:20:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 12:20:13 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ejohnson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 12:19:56 -0800 Received: by ug-out-1314.google.com with SMTP id k40so1906022ugc for <ejohnson@example.net>; Wed, 01 Nov 2006 12:19:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZVcZfa475D3ULvxVtOSIL/GppFvmUXROWKaSLlJ+Tzl6UIqCXP3X2RitdMylRQIpAuZcZ/8XG0gKjGR94gYduKvaS5gCxM/+50jnsfO01ejbBvDkEsdhuFndWSV5G70U4vnClRDDh4VI38YpiJNTB/GRPCjpEdsghKrp758LhMc= Received: by 83.161.120.155 with SMTP id y8mr146923huf; Wed, 01 Nov 2006 12:19:33 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 12:19:33 -0800 (PST) Message-ID: <ejohnson@example.net> Date: Wed, 1 Nov 2006 12:19:33 -0800 From: "Mike Klaas" <ejohnson@example.net> To: ejohnson@example.net Subject: Re: [jira] Created: (SOLR-62) scripts don't check return code In-Reply-To: <17449944.1162406416591.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17449944.1162406416591.JavaMail.root@brutus> X-Virus-Checked: Checked by ClamAV on apache.org On 11/1/06, Yonik Seeley (JIRA) <ejohnson@example.net> wrote: > echo $rs | grep '<response.*status="0"' > /dev/null 2>&1 > if [[ $? != 0 ]] > then > [...] Looks good. Any thought on switching to a more powerful scripting language for these things? Were this python, frinstance, a basic xml parser could be thrown together in a couple lines. Python is also more cross-platform than bash scripting. -Mike From solr-ejohnson@example.net Wed Nov 01 21:00:01 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 80067 invoked from network); 1 Nov 2006 21:00:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 21:00:00 -0000 Received: (qmail 80230 invoked by uid 500); 1 Nov 2006 21:00:11 -0000 Delivered-To: ejohnson@example.net Received: (qmail 80204 invoked by uid 500); 1 Nov 2006 21:00:11 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 80191 invoked by uid 99); 1 Nov 2006 21:00:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 13:00:11 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO ehatchersolutions.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 12:59:58 -0800 Received: by ehatchersolutions.com (Postfix, from userid 504) id AE14030EFC18; Wed, 1 Nov 2006 15:59:32 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on javelina X-Spam-Level: Received: from [83.161.120.155] (d-128-193-79.bootp.Virginia.EDU [83.161.120.155]) by ehatchersolutions.com (Postfix) with ESMTP id C07CC30EFC17 for <ejohnson@example.net>; Wed, 1 Nov 2006 15:59:31 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <ejohnson@example.net> References: <17449944.1162406416591.JavaMail.root@brutus> <ejohnson@example.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <ejohnson@example.net> Content-Transfer-Encoding: 7bit From: Erik Hatcher <ejohnson@example.net> Subject: Re: [jira] Created: (SOLR-62) scripts don't check return code Date: Wed, 1 Nov 2006 15:59:29 -0500 To: ejohnson@example.net X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.1 On Nov 1, 2006, at 3:19 PM, Mike Klaas wrote: > On 11/1/06, Yonik Seeley (JIRA) <ejohnson@example.net> wrote: > >> echo $rs | grep '<response.*status="0"' > /dev/null 2>&1 >> if [[ $? != 0 ]] >> then >> [...] > > Looks good. > > Any thought on switching to a more powerful scripting language for > these things? Were this python, frinstance, a basic xml parser could > be thrown together in a couple lines. Python is also more > cross-platform than bash scripting. I'm personally interested in a Ruby Solr DSL (domain specific language) which would make this kind of stuff be API'ish instead of even having to deal with XML directly... maybe something like this: doc = SolrDoc.new doc.title = "foo" doc.text = "blah blah blah" Solr.post doc Come on someone.... take this as a challenge and beat me to it :) Erik From solr-ejohnson@example.net Wed Nov 01 22:46:16 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 3844 invoked from network); 1 Nov 2006 22:46:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 22:46:15 -0000 Received: (qmail 22363 invoked by uid 500); 1 Nov 2006 22:46:26 -0000 Delivered-To: ejohnson@example.net Received: (qmail 22333 invoked by uid 500); 1 Nov 2006 22:46:26 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 22324 invoked by uid 99); 1 Nov 2006 22:46:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 14:46:26 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO rescomp.berkeley.edu) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 14:46:12 -0800 Received: by rescomp.berkeley.edu (Postfix, from userid 1007) id F372F5B780; Wed, 1 Nov 2006 14:45:51 -0800 (PST) Received: from localhost (localhost [83.161.120.155]) by rescomp.berkeley.edu (Postfix) with ESMTP id EA07A7F403 for <ejohnson@example.net>; Wed, 1 Nov 2006 14:45:51 -0800 (PST) Date: Wed, 1 Nov 2006 14:45:51 -0800 (PST) From: Chris Hostetter <ejohnson@example.net> To: ejohnson@example.net Subject: Re: [jira] Created: (SOLR-62) scripts don't check return code In-Reply-To: <ejohnson@example.net> Message-ID: <ejohnson@example.net> References: <17449944.1162406416591.JavaMail.root@brutus> <ejohnson@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : Any thought on switching to a more powerful scripting language for : these things? Were this python, frinstance, a basic xml parser could : be thrown together in a couple lines. Python is also more : cross-platform than bash scripting. I have no strong opinion about what language they be implimented in .. ideally it would be nice if they could be done in java so there were no additional dependencies (ie: bash or python) ... but i'm not sure if making hardlinks in java is really feasible. is it something that can be done natively in python? -Hoss From solr-ejohnson@example.net Wed Nov 01 23:17:30 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 13038 invoked from network); 1 Nov 2006 23:17:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 23:17:30 -0000 Received: (qmail 54112 invoked by uid 500); 1 Nov 2006 23:17:41 -0000 Delivered-To: ejohnson@example.net Received: (qmail 54004 invoked by uid 500); 1 Nov 2006 23:17:41 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 53995 invoked by uid 99); 1 Nov 2006 23:17:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 15:17:41 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ejohnson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 15:17:29 -0800 Received: by nf-out-0910.google.com with SMTP id b2so740473nfe for <ejohnson@example.net>; Wed, 01 Nov 2006 15:17:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Nfl5iU1cvgneGnz05bcdmHlnE3wCCyPpvYt0RbwAV9PBuJStfX+dcumPUTHCWOhFYws2A+RmGsMkUW19Y4A3iCHbzJ9ytTK9ymx7E3muar0FTwdH3Mm0AqulWY25YtS2bFU71DK5q9EylaQ/bF1F2nIZPVcLeEHpaxitASHENBU= Received: by 83.161.120.155 with SMTP id p9mr1693896bud; Wed, 01 Nov 2006 15:17:07 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 15:17:07 -0800 (PST) Message-ID: <ejohnson@example.net> Date: Wed, 1 Nov 2006 18:17:07 -0500 From: "Yonik Seeley" <ejohnson@example.net> Sender: ejohnson@example.net To: ejohnson@example.net Subject: Re: [jira] Created: (SOLR-62) scripts don't check return code In-Reply-To: <ejohnson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17449944.1162406416591.JavaMail.root@brutus> <ejohnson@example.net> <ejohnson@example.net> X-Google-Sender-Auth: 029c018b59c17572 X-Virus-Checked: Checked by ClamAV on apache.org While I'm definitely for Solr interfaces in different languages, I'd wouldn't want to add a Python or Ruby dependency just to get distribution working. -Yonik From solr-ejohnson@example.net Wed Nov 01 23:22:49 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 15646 invoked from network); 1 Nov 2006 23:22:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 23:22:47 -0000 Received: (qmail 63412 invoked by uid 500); 1 Nov 2006 23:22:57 -0000 Delivered-To: ejohnson@example.net Received: (qmail 63352 invoked by uid 500); 1 Nov 2006 23:22:57 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 63342 invoked by uid 99); 1 Nov 2006 23:22:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 15:22:57 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ejohnson@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 15:22:44 -0800 Received: by ug-out-1314.google.com with SMTP id k40so1953392ugc for <ejohnson@example.net>; Wed, 01 Nov 2006 15:22:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hZ0d8jHmAV6YbiwAseIK/wQokXT9X3kvL2vHA+xyCk86FMpfvhvYukqymWWZ21GoHgoj3lPxQ2436qmI3anAHGu7bmt9TDLklKddu/k/I+e23oHRcUpPmYvRneZU12WJthVnoM0rOJNzAdmPvMgfgU6OBPtuYPFkj+oBQTjEfFs= Received: by 83.161.120.155 with SMTP id l19mr595025huf; Wed, 01 Nov 2006 15:22:22 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 1 Nov 2006 15:22:22 -0800 (PST) Message-ID: <ejohnson@example.net> Date: Wed, 1 Nov 2006 15:22:22 -0800 From: "Mike Klaas" <ejohnson@example.net> To: ejohnson@example.net Subject: Re: Re: [jira] Created: (SOLR-62) scripts don't check return code In-Reply-To: <ejohnson@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17449944.1162406416591.JavaMail.root@brutus> <ejohnson@example.net> <ejohnson@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On 11/1/06, Chris Hostetter <ejohnson@example.net> wrote: > I have no strong opinion about what language they be implimented in .. > ideally it would be nice if they could be done in java so there were no > additional dependencies (ie: bash or python) ... but i'm not sure if > making hardlinks in java is really feasible. It seems hard to not depend on _something_ which provides shell-like functionality, if not a shell itself. I also suspect that java wouldn't be up to the task. The nice thing about using python (or some other cross-platform scripting language) is that it abstracts away platform details. os.path.join('a', 'b') -> 'a/b' on linux and 'a\b' on windows. > is it something that can be done natively in python? os.link(src, dest) regards, -Mike From solr-ejohnson@example.net Thu Nov 02 08:16:02 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 62839 invoked from network); 2 Nov 2006 08:16:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 08:16:02 -0000 Received: (qmail 89439 invoked by uid 500); 2 Nov 2006 08:16:13 -0000 Delivered-To: ejohnson@example.net Received: (qmail 89417 invoked by uid 500); 2 Nov 2006 08:16:13 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 89401 invoked by uid 99); 2 Nov 2006 08:16:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 00:16:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO rescomp.berkeley.edu) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 00:16:00 -0800 Received: by rescomp.berkeley.edu (Postfix, from userid 1007) id D47975B782; Thu, 2 Nov 2006 00:15:39 -0800 (PST) Received: from localhost (localhost [83.161.120.155]) by rescomp.berkeley.edu (Postfix) with ESMTP id C93FD7F403 for <ejohnson@example.net>; Thu, 2 Nov 2006 00:15:39 -0800 (PST) Date: Thu, 2 Nov 2006 00:15:39 -0800 (PST) From: Chris Hostetter <ejohnson@example.net> To: ejohnson@example.net Subject: Re: Re: [jira] Created: (SOLR-62) scripts don't check return code In-Reply-To: <ejohnson@example.net> Message-ID: <ejohnson@example.net> References: <17449944.1162406416591.JavaMail.root@brutus> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : It seems hard to not depend on _something_ which provides shell-like : functionality, if not a shell itself. I also suspect that java : wouldn't be up to the task. agreed, i'm just saying if we switch to python or ruby or whatever we should try to keep the scripts simple (ie: no crazy library dependencies) : > is it something that can be done natively in python? : : os.link(src, dest) coolio. -Hoss From solr-ejohnson@example.net Thu Nov 02 11:12:49 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 25471 invoked from network); 2 Nov 2006 11:12:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 11:12:43 -0000 Received: (qmail 8015 invoked by uid 500); 2 Nov 2006 11:12:52 -0000 Delivered-To: ejohnson@example.net Received: (qmail 7918 invoked by uid 500); 2 Nov 2006 11:12:51 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 7686 invoked by uid 99); 2 Nov 2006 11:12:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 03:12:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 03:12:38 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 53B977142C1 for <ejohnson@example.net>; Thu, 2 Nov 2006 03:12:18 -0800 (PST) Message-ID: <26327548.1162465938340.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 03:12:18 -0800 (PST) From: "Bertrand Delacretaz (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Updated: (SOLR-59) Copy request parameters to Solr's response In-Reply-To: <28605153.1161706276504.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/SOLR-59?page=all ] Bertrand Delacretaz updated SOLR-59: ------------------------------------ Attachment: SOLR-59-20061102.patch Here's a new patch (SOLR-59-20061102.patch and SOLR-59-new-files-20061102.tar.gz). I have added a SolrQueryResponseHeaders class to handle these (and any future) additional information fields in the response headers. The XML output format is a bit different, example for http://localhost:8983/solr/select/?stylesheet=&q=apache&version=2.1&start=0&rows=10&indent=on&multi=red&multi=blue <responseHeader> <status>0</status> <QTime>0</QTime> <lst name="addInfo"> <lst name="explicitQueryParameters"> <arr name="multi"> <str>red</str> <str>blue</str> </arr> <str name="rows">10</str> <str name="start">0</str> <str name="indent">on</str> <str name="q">apache</str> <str name="stylesheet"/> <str name="version">2.1</str> </lst> </lst> </responseHeader> And the same info is available in a similar way in the JSON, Python and Ruby response writers. The explicitQueryParameters list is activated by the following (optional) parameter in solrconfig.xml, which defaults to false: <response> <!-- Copy explicit request parameters to response? (SOLR-59) --> <echoParameters explicit="true"/> </response> Default parameters are not dumped for now, adding them should only require changing SolrQueryResponseHeaders.setStandardHeaders(). Also, DefaultSolrParams.getParameterNamesIterator() now returns all parameters thanks to the new IteratorChain utility class (is there a better way without copying collections? sounds fairly hairy for a simple thing). > Copy request parameters to Solr's response > ------------------------------------------ > > Key: SOLR-59 > URL: http://issues.apache.org/jira/browse/SOLR-59 > Project: Solr > Issue Type: Improvement > Reporter: Bertrand Delacretaz > Attachments: SOLR-59-20061024.patch, SOLR-59-20061102.patch > > > This patch copies the request parameters (explicit ones only, not the defaults) to Solr's XML output. > It is not configurable yet, it is enabled by default and adds a "queryParameters" list to the responseHeader: > <responseHeader> > <status>0</status> > <QTime>1</QTime> > <lst name="queryParameters"> > <arr name="multi"> > <str>red</str> > <str>blue</str> > </arr> > <str name="rows">10</str> > <str name="start">0</str> > <str name="indent">on</str> > <str name="q">solr</str> > <str name="stylesheet"/> > <str name="version">2.1</str> > </lst> > </responseHeader> > The above example includes a multi-valued parameter, "multi". > This might still change a bit, but if someone wants to play with it or improve it, here you go. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Thu Nov 02 11:14:38 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 26204 invoked from network); 2 Nov 2006 11:14:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 11:14:38 -0000 Received: (qmail 10412 invoked by uid 500); 2 Nov 2006 11:14:49 -0000 Delivered-To: ejohnson@example.net Received: (qmail 10390 invoked by uid 500); 2 Nov 2006 11:14:49 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 10380 invoked by uid 99); 2 Nov 2006 11:14:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 03:14:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 03:14:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 358F57141B8 for <ejohnson@example.net>; Thu, 2 Nov 2006 03:14:17 -0800 (PST) Message-ID: <6564420.1162466057216.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 03:14:17 -0800 (PST) From: "Bertrand Delacretaz (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Updated: (SOLR-59) Copy request parameters to Solr's response In-Reply-To: <28605153.1161706276504.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/SOLR-59?page=all ] Bertrand Delacretaz updated SOLR-59: ------------------------------------ Attachment: SOLR-59-new-files-20061102.tar.gz New files for SOLR-59-20061102.patch > Copy request parameters to Solr's response > ------------------------------------------ > > Key: SOLR-59 > URL: http://issues.apache.org/jira/browse/SOLR-59 > Project: Solr > Issue Type: Improvement > Reporter: Bertrand Delacretaz > Attachments: SOLR-59-20061024.patch, SOLR-59-20061102.patch, SOLR-59-new-files-20061102.tar.gz > > > This patch copies the request parameters (explicit ones only, not the defaults) to Solr's XML output. > It is not configurable yet, it is enabled by default and adds a "queryParameters" list to the responseHeader: > <responseHeader> > <status>0</status> > <QTime>1</QTime> > <lst name="queryParameters"> > <arr name="multi"> > <str>red</str> > <str>blue</str> > </arr> > <str name="rows">10</str> > <str name="start">0</str> > <str name="indent">on</str> > <str name="q">solr</str> > <str name="stylesheet"/> > <str name="version">2.1</str> > </lst> > </responseHeader> > The above example includes a multi-valued parameter, "multi". > This might still change a bit, but if someone wants to play with it or improve it, here you go. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Thu Nov 02 14:10:38 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 83882 invoked from network); 2 Nov 2006 14:10:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 14:10:37 -0000 Received: (qmail 49691 invoked by uid 500); 2 Nov 2006 14:10:49 -0000 Delivered-To: ejohnson@example.net Received: (qmail 49674 invoked by uid 500); 2 Nov 2006 14:10:48 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 49665 invoked by uid 99); 2 Nov 2006 14:10:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 06:10:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 06:10:36 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 7906A7142C1 for <ejohnson@example.net>; Thu, 2 Nov 2006 06:10:16 -0800 (PST) Message-ID: <15584982.1162476616477.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 06:10:16 -0800 (PST) From: "Bill Au (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Created: (SOLR-63) snappuller fails if login shell on master server is zsh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org snappuller fails if login shell on master server is zsh ------------------------------------------------------- Key: SOLR-63 URL: http://issues.apache.org/jira/browse/SOLR-63 Project: Solr Issue Type: Bug Components: replication Environment: zsh Reporter: Bill Au Assigned To: Bill Au Priority: Minor snappuller will fails to find the lastest snapshot on the master if the login shell of the id running the srcipt on the master is zsh. The command find ${master_data_dir} -name snapshot.* -print fails with the error zsh: no matches found: snapshot.* The "*" needs to be blackslash escaped. I will attach a patch shortly. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Thu Nov 02 16:05:34 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 26853 invoked from network); 2 Nov 2006 16:04:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 16:04:12 -0000 Received: (qmail 73208 invoked by uid 500); 2 Nov 2006 16:03:53 -0000 Delivered-To: ejohnson@example.net Received: (qmail 73104 invoked by uid 500); 2 Nov 2006 16:03:53 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 73050 invoked by uid 99); 2 Nov 2006 16:03:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 08:03:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 08:03:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 1D52B7142BF for <ejohnson@example.net>; Thu, 2 Nov 2006 08:03:17 -0800 (PST) Message-ID: <12597495.1162483397108.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 08:03:17 -0800 (PST) From: "Bill Au (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Updated: (SOLR-63) snappuller fails if login shell on master server is zsh In-Reply-To: <15584982.1162476616477.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/SOLR-63?page=all ] Bill Au updated SOLR-63: ------------------------ Attachment: snappuller-solar-63.patch patch to snappuller to blackslash excape "*" in ssh command to master so that it will work under zsh. > snappuller fails if login shell on master server is zsh > ------------------------------------------------------- > > Key: SOLR-63 > URL: http://issues.apache.org/jira/browse/SOLR-63 > Project: Solr > Issue Type: Bug > Components: replication > Environment: zsh > Reporter: Bill Au > Assigned To: Bill Au > Priority: Minor > Attachments: snappuller-solar-63.patch > > > snappuller will fails to find the lastest snapshot on the master if the login shell of the id running the srcipt on the master is zsh. The command > find ${master_data_dir} -name snapshot.* -print > fails with the error > zsh: no matches found: snapshot.* > The "*" needs to be blackslash escaped. > I will attach a patch shortly. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Thu Nov 02 18:03:38 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 82505 invoked from network); 2 Nov 2006 18:03:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 18:03:37 -0000 Received: (qmail 808 invoked by uid 500); 2 Nov 2006 18:03:48 -0000 Delivered-To: ejohnson@example.net Received: (qmail 791 invoked by uid 500); 2 Nov 2006 18:03:48 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 782 invoked by uid 99); 2 Nov 2006 18:03:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 10:03:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 10:03:36 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 7BD157142BF for <ejohnson@example.net>; Thu, 2 Nov 2006 10:03:16 -0800 (PST) Message-ID: <17179960.1162490596489.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 10:03:16 -0800 (PST) From: "Yonik Seeley (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Created: (SOLR-64) strict hierarchical facets MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org strict hierarchical facets -------------------------- Key: SOLR-64 URL: http://issues.apache.org/jira/browse/SOLR-64 Project: Solr Issue Type: New Feature Components: search Reporter: Yonik Seeley Strict Facet Hierarchies... each tag has at most one parent (a tree). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Thu Nov 02 18:05:39 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 83083 invoked from network); 2 Nov 2006 18:05:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 18:05:38 -0000 Received: (qmail 3961 invoked by uid 500); 2 Nov 2006 18:05:49 -0000 Delivered-To: ejohnson@example.net Received: (qmail 3934 invoked by uid 500); 2 Nov 2006 18:05:49 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 3925 invoked by uid 99); 2 Nov 2006 18:05:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 10:05:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 10:05:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 2C4687142BF for <ejohnson@example.net>; Thu, 2 Nov 2006 10:05:17 -0800 (PST) Message-ID: <17411314.1162490717179.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 10:05:17 -0800 (PST) From: "Yonik Seeley (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Commented: (SOLR-64) strict hierarchical facets In-Reply-To: <17179960.1162490596489.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/SOLR-64?page=comments#action_12446675 ] Yonik Seeley commented on SOLR-64: ---------------------------------- Strict Facet Hierarchies: - a response format that can more efficiently encapsulate hierarchies - maybe format flexible enough to encompass other hierarchies (non-tree, defined via solrconfig.xml, etc) - strict hierarchy field faceting, with a single field value per document containing all the ordered constraints (a path) - ability to select depth to return to the client - perhaps an ability to select a variable depth based on the number of items selected at that node - expand node if count > 100.... or maybe expand node if count > 10% of hits http://www.nabble.com/Hierarchical-Facets--tf2560327.html#a7135353 > strict hierarchical facets > -------------------------- > > Key: SOLR-64 > URL: http://issues.apache.org/jira/browse/SOLR-64 > Project: Solr > Issue Type: New Feature > Components: search > Reporter: Yonik Seeley > > Strict Facet Hierarchies... each tag has at most one parent (a tree). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Thu Nov 02 18:37:46 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 91825 invoked from network); 2 Nov 2006 18:37:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2006 18:37:42 -0000 Received: (qmail 62069 invoked by uid 500); 2 Nov 2006 18:37:52 -0000 Delivered-To: ejohnson@example.net Received: (qmail 62033 invoked by uid 500); 2 Nov 2006 18:37:51 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 61914 invoked by uid 99); 2 Nov 2006 18:37:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 10:37:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 10:37:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 597527142C3 for <ejohnson@example.net>; Thu, 2 Nov 2006 10:37:17 -0800 (PST) Message-ID: <16396178.1162492637361.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 10:37:17 -0800 (PST) From: "Yonik Seeley (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Commented: (SOLR-59) Copy request parameters to Solr's response In-Reply-To: <28605153.1161706276504.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/SOLR-59?page=comments#action_12446684 ] Yonik Seeley commented on SOLR-59: ---------------------------------- Looking good Bertrand! I think it might make more sense to use the normal query parameter mechanism to control this (requestHandler defaults in solrconfig). That way we can reuse all of the parameter code we already have, we avoid adding another element to solrconfig.xml, and most of all, we can change the behavior per-request (very useful for debugging). Also, why the extra addInfo element in the responseHeader? I think I liked it better the way you had it before. Side note/question: should we make responseHeader consistent with the generic response format? <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">10</int> That would be a separate issue of course... > Copy request parameters to Solr's response > ------------------------------------------ > > Key: SOLR-59 > URL: http://issues.apache.org/jira/browse/SOLR-59 > Project: Solr > Issue Type: Improvement > Reporter: Bertrand Delacretaz > Attachments: SOLR-59-20061024.patch, SOLR-59-20061102.patch, SOLR-59-new-files-20061102.tar.gz > > > This patch copies the request parameters (explicit ones only, not the defaults) to Solr's XML output. > It is not configurable yet, it is enabled by default and adds a "queryParameters" list to the responseHeader: > <responseHeader> > <status>0</status> > <QTime>1</QTime> > <lst name="queryParameters"> > <arr name="multi"> > <str>red</str> > <str>blue</str> > </arr> > <str name="rows">10</str> > <str name="start">0</str> > <str name="indent">on</str> > <str name="q">solr</str> > <str name="stylesheet"/> > <str name="version">2.1</str> > </lst> > </responseHeader> > The above example includes a multi-valued parameter, "multi". > This might still change a bit, but if someone wants to play with it or improve it, here you go. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Fri Nov 03 01:29:39 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 30649 invoked from network); 3 Nov 2006 01:29:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2006 01:29:39 -0000 Received: (qmail 52364 invoked by uid 500); 3 Nov 2006 01:29:50 -0000 Delivered-To: ejohnson@example.net Received: (qmail 52344 invoked by uid 500); 3 Nov 2006 01:29:49 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 52334 invoked by uid 99); 3 Nov 2006 01:29:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 17:29:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 17:29:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 822FD7141B8 for <ejohnson@example.net>; Thu, 2 Nov 2006 17:29:16 -0800 (PST) Message-ID: <15730659.1162517356530.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 17:29:16 -0800 (PST) From: "Mike Klaas (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Created: (SOLR-65) autoCommit/autoOptimize implementation + multithreaded document adding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org autoCommit/autoOptimize implementation + multithreaded document adding ---------------------------------------------------------------------- Key: SOLR-65 URL: http://issues.apache.org/jira/browse/SOLR-65 Project: Solr Issue Type: New Feature Components: update Reporter: Mike Klaas Assigned To: Mike Klaas Basic implementation of autoCommit/autoOptimize functionality, plus overhaul of DUH2 threading to reduce contention -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Fri Nov 03 01:32:39 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 31992 invoked from network); 3 Nov 2006 01:32:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2006 01:32:38 -0000 Received: (qmail 54605 invoked by uid 500); 3 Nov 2006 01:32:50 -0000 Delivered-To: ejohnson@example.net Received: (qmail 54501 invoked by uid 500); 3 Nov 2006 01:32:49 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 54492 invoked by uid 99); 3 Nov 2006 01:32:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 17:32:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 17:32:37 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 1D5F77142DC for <ejohnson@example.net>; Thu, 2 Nov 2006 17:32:17 -0800 (PST) Message-ID: <26491856.1162517537108.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 17:32:17 -0800 (PST) From: "Mike Klaas (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Updated: (SOLR-65) autoCommit/autoOptimize implementation + multithreaded document adding In-Reply-To: <15730659.1162517356530.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/SOLR-65?page=all ] Mike Klaas updated SOLR-65: --------------------------- Attachment: autocommit_patch.diff Basic autocommit implementation. Not complete: this patch still requires a scheduled call to checkCommit() to have the correct semantics--it is something I'm working on. I posted this patch to get feedback on the thread synchronization strategy. I eliminated all synchronized blocks, and instead am using a reader/writer lock from java.util.concurrent for synchro. Virtually everything is serialized using the writer lock (like the old strategy), but document adding degrades its lock to a lowered-contention reader lock before adding hte document to the index. > autoCommit/autoOptimize implementation + multithreaded document adding > ---------------------------------------------------------------------- > > Key: SOLR-65 > URL: http://issues.apache.org/jira/browse/SOLR-65 > Project: Solr > Issue Type: New Feature > Components: update > Reporter: Mike Klaas > Assigned To: Mike Klaas > Attachments: autocommit_patch.diff > > > Basic implementation of autoCommit/autoOptimize functionality, plus overhaul of DUH2 threading to reduce contention -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From solr-ejohnson@example.net Fri Nov 03 16:41:52 2006 Return-Path: <solr-ejohnson@example.net> Delivered-To: ejohnson@example.net Received: (qmail 66010 invoked from network); 3 Nov 2006 16:41:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Nov 2006 16:41:48 -0000 Received: (qmail 96866 invoked by uid 500); 3 Nov 2006 16:41:53 -0000 Delivered-To: ejohnson@example.net Received: (qmail 96792 invoked by uid 500); 3 Nov 2006 16:41:53 -0000 Mailing-List: contact ejohnson@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ejohnson@example.net> List-Unsubscribe: <mailto:ejohnson@example.net> List-Post: <mailto:ejohnson@example.net> List-Id: <solr-dev.lucene.apache.org> Reply-To: ejohnson@example.net Delivered-To: mailing list ejohnson@example.net Received: (qmail 96751 invoked by uid 99); 3 Nov 2006 16:41:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 08:41:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 08:41:40 -0800 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 0F4EF7142EF for <ejohnson@example.net>; Fri, 3 Nov 2006 08:41:20 -0800 (PST) Message-ID: <21076507.1162572080029.JavaMail.root@brutus> Date: Fri, 3 Nov 2006 08:41:20 -0800 (PST) From: "Bertrand Delacretaz (JIRA)" <ejohnson@example.net> To: ejohnson@example.net Subject: [jira] Updated: (SOLR-59) Copy request parameters to Solr's response In-Reply-To: <28605153.1161706276504.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/SOLR-59?page=all ] Bertrand Delacretaz updated SOLR-59: ------------------------------------ Attachment: SOLR-59-20061103.patch > ...I think it might make more sense to use the normal query parameter > mechanism to control this (requestHandler defaults in solrconfig). .. I agree, but I'm not sure how to access these values, are they provided somewhere in SolrCore, or how should I best get them? > ...Also, why the extra addInfo element in the responseHeader?.. Right, makes no sense. This modifed patch goes back to the previous format (still needs the additional files of attachment 3). <responseHeader> <status>0</status> <QTime>1</QTime> <lst name="explicitQueryParameters"> <str name="rows">10</str> ... > ...should we make responseHeader consistent with the generic response format? I think so. I didn't want to change that as it changes the existing format, but it makes sense. > Copy request parameters to Solr's response >
{'source': 'Apache Software Foundation Public Mail Archives'}