You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2014/08/12 09:27:12 UTC

[jira] [Created] (SOLR-6365) specify appends, defaults, invariants outside of the component

Noble Paul created SOLR-6365:
--------------------------------

             Summary: specify  appends, defaults, invariants outside of the component
                 Key: SOLR-6365
                 URL: https://issues.apache.org/jira/browse/SOLR-6365
             Project: Solr
          Issue Type: Improvement
            Reporter: Noble Paul
            Assignee: Noble Paul


The components are configured in solrconfig.xml mostly for specifying these extra parameters. If we separate these out, we can avoid specifying the components altogether and make solrconfig much simpler

example
{code:xml}
 <!-- these are top level tags not specified inside any components -->
<params  path="/dataimport" defaults="config=data-config.xml"/>
<params path="/update/*" defaults="wt=json"/>
<params path="/some-other-path*" defaults="a=b&c=d&e=f" invariants="x=y" appends="i=j"/>
{code}
The idea is to use the parameters in the  same format as we pass in the http request and eliminate specifying our default components in solrconfig.xml

 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org