You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2016/09/26 09:00:32 UTC
[jira] [Commented] (SOLR-9557) Every implicit requesthandler should
have a default useParams
[ https://issues.apache.org/jira/browse/SOLR-9557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522506#comment-15522506 ]
Shalin Shekhar Mangar commented on SOLR-9557:
---------------------------------------------
+1 to the idea.
Paramsets are preferable to initParams because initParams are required to be present during initialization and therefore, a core reload is necessary when modifying them (is this documented in example solrconfigs and reference guide). But why only on implicit request handlers? Why not have this convention over all request handlers?
Also, this isn't a bug but marked as such.
> Every implicit requesthandler should have a default useParams
> --------------------------------------------------------------
>
> Key: SOLR-9557
> URL: https://issues.apache.org/jira/browse/SOLR-9557
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Attachments: SOLR-9557.patch
>
>
> If a user needs to set any request parameters on an implicitly defined requesthandler , he has to define an {{<initParams>}} section in solrconfig.xml. We should define a default paramset with all implicit handlers
> example : the {{/update/json/docs}} can have a default {{useParams="_UPDATE_JSON_DOCS"}}
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org