[ 
https://issues.apache.org/jira/browse/SOLR-12612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16584448#comment-16584448
 ] 

Tomás Fernández Löbbe commented on SOLR-12612:
----------------------------------------------

I agree Blob Store is a better place to store configuration files, however, 
cluster properties is a good place to store properties that Solr components (or 
plugins) can listen on and react on changes (similar to collection properties 
but cluster-wide)
{quote}We can also require all extra property starts with prefix like: extra_
{quote}
I think I'd prefer some parameter in the request to tell Solr if it should 
validate the property or not instead of enforcing some property pattern. 
Something like:
{code:java}
 /admin/collections?action=CLUSTERPROP&name=myCustomProperty&val=something 
{code}
Would fail, but something like
{code:java}
 
/admin/collections?action=CLUSTERPROP&name=myCustomProperty&val=something&validate=false
 {code}
Would succeed. WDYT? It doesn't need to be {{validate=false}}, it could be 
something like {{acceptUnkown=true}}, or something else. As for the PR, the 
change is pretty straight forward [~yuanyun.cn], but could you add a test too?

 

> Accept any key in cluster properties
> ------------------------------------
>
>                 Key: SOLR-12612
>                 URL: https://issues.apache.org/jira/browse/SOLR-12612
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 7.4, master (8.0)
>            Reporter: jefferyyuan
>            Priority: Minor
>             Fix For: master (8.0)
>
>
> Cluster properties is a good place to store configuration data that's shared 
> in the whole cluster: solr and other (authorized) apps can easily read and 
> update them.
>  
> It would be very useful if we can store extra data in cluster properties 
> which would act as a centralized property management system between solr and 
> its related apps (like manager or monitor apps).
>  
> And the change would be also very simple.
> We can also require all extra property starts with prefix like: extra_
>  
> PR: https://github.com/apache/lucene-solr/pull/429
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to