Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 627B691DF for ; Sat, 16 Mar 2013 01:01:09 +0000 (UTC) Received: (qmail 31190 invoked by uid 500); 16 Mar 2013 01:01:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 31130 invoked by uid 500); 16 Mar 2013 01:01:08 -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 31118 invoked by uid 99); 16 Mar 2013 01:01:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Mar 2013 01:01:07 +0000 Date: Sat, 16 Mar 2013 01:01:07 +0000 (UTC) From: "Erik Hatcher (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-4591) Add NamedList.getDefault to get values or use a defaulted value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604063#comment-13604063 ] Erik Hatcher commented on SOLR-4591: ------------------------------------ What about using DefaultSolrParams and #toNamedList instead? > Add NamedList.getDefault to get values or use a defaulted value > --------------------------------------------------------------- > > Key: SOLR-4591 > URL: https://issues.apache.org/jira/browse/SOLR-4591 > Project: Solr > Issue Type: Improvement > Components: search > Reporter: Andrew Lundgren > Priority: Trivial > Attachments: SOLR-4591.patch, SOLR-4591.patch > > > I seem to be putting a fair amount of code in my components to support having default values for keys that may not be specified in the solrconfig.xml > Add a function to NamedList that supports getting a value with the option of using a default. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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