lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4591) Add NamedList.getDefault to get values or use a defaulted value
Date Sat, 16 Mar 2013 01:01:07 GMT

    [ 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


Mime
View raw message