[jira] [Commented] (SOLR-12827) Migrate cluster wide defaults syntax in cluster properties to a nested structure

2018-10-25 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12827:


Commit 16ee847663d67d1b003228d809dac6d5e30f2682 in lucene-solr's branch 
refs/heads/jira/http2 from [~ctargett]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=16ee847 ]

SOLR-12827: remove monospace in headings; correct formatting for heading level 
indicator; remove redundant "Example #" in the example titles


> Migrate cluster wide defaults syntax in cluster properties to a nested 
> structure
> 
>
> Key: SOLR-12827
> URL: https://issues.apache.org/jira/browse/SOLR-12827
> Project: Solr
>  Issue Type: Task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: SolrCloud
>Reporter: Shalin Shekhar Mangar
>Assignee: Shalin Shekhar Mangar
>Priority: Major
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12827.patch
>
>
> SOLR-12387 introduced cluster wide defaults for collection properties. 
> However, the syntax committed is flat and ugly e.g. collectionDefaults 
> instead of defaults/collection inspite of the latter being proposed by 
> Andrzej. Anyway, we should change the format now before it sees widespread 
> use. I propose to fix documentation to describe the new format and 
> auto-convert cluster properties to new syntax on startup.



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

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



[jira] [Commented] (SOLR-12827) Migrate cluster wide defaults syntax in cluster properties to a nested structure

2018-10-24 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12827:


Commit 16ee847663d67d1b003228d809dac6d5e30f2682 in lucene-solr's branch 
refs/heads/master from [~ctargett]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=16ee847 ]

SOLR-12827: remove monospace in headings; correct formatting for heading level 
indicator; remove redundant "Example #" in the example titles


> Migrate cluster wide defaults syntax in cluster properties to a nested 
> structure
> 
>
> Key: SOLR-12827
> URL: https://issues.apache.org/jira/browse/SOLR-12827
> Project: Solr
>  Issue Type: Task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: SolrCloud
>Reporter: Shalin Shekhar Mangar
>Assignee: Shalin Shekhar Mangar
>Priority: Major
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12827.patch
>
>
> SOLR-12387 introduced cluster wide defaults for collection properties. 
> However, the syntax committed is flat and ugly e.g. collectionDefaults 
> instead of defaults/collection inspite of the latter being proposed by 
> Andrzej. Anyway, we should change the format now before it sees widespread 
> use. I propose to fix documentation to describe the new format and 
> auto-convert cluster properties to new syntax on startup.



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

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



[jira] [Commented] (SOLR-12827) Migrate cluster wide defaults syntax in cluster properties to a nested structure

2018-10-24 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12827:


Commit ac0b058773c1384190d867a4419beffac4eac810 in lucene-solr's branch 
refs/heads/branch_7x from [~ctargett]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ac0b058 ]

SOLR-12827: remove monospace in headings; correct formatting for heading level 
indicator; remove redundant "Example #" in the example titles


> Migrate cluster wide defaults syntax in cluster properties to a nested 
> structure
> 
>
> Key: SOLR-12827
> URL: https://issues.apache.org/jira/browse/SOLR-12827
> Project: Solr
>  Issue Type: Task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: SolrCloud
>Reporter: Shalin Shekhar Mangar
>Assignee: Shalin Shekhar Mangar
>Priority: Major
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12827.patch
>
>
> SOLR-12387 introduced cluster wide defaults for collection properties. 
> However, the syntax committed is flat and ugly e.g. collectionDefaults 
> instead of defaults/collection inspite of the latter being proposed by 
> Andrzej. Anyway, we should change the format now before it sees widespread 
> use. I propose to fix documentation to describe the new format and 
> auto-convert cluster properties to new syntax on startup.



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

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



[jira] [Commented] (SOLR-12827) Migrate cluster wide defaults syntax in cluster properties to a nested structure

2018-10-04 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12827:


Commit 793a677d0f62e2bcfeae7e0abb42b5f7ab40126e in lucene-solr's branch 
refs/heads/master from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=793a677 ]

SOLR-12827: Fix blurb in ref guide to say that the key is deprecated instead of 
saying that it is no longer supported.


> Migrate cluster wide defaults syntax in cluster properties to a nested 
> structure
> 
>
> Key: SOLR-12827
> URL: https://issues.apache.org/jira/browse/SOLR-12827
> Project: Solr
>  Issue Type: Task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: SolrCloud
>Reporter: Shalin Shekhar Mangar
>Priority: Major
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12827.patch
>
>
> SOLR-12387 introduced cluster wide defaults for collection properties. 
> However, the syntax committed is flat and ugly e.g. collectionDefaults 
> instead of defaults/collection inspite of the latter being proposed by 
> Andrzej. Anyway, we should change the format now before it sees widespread 
> use. I propose to fix documentation to describe the new format and 
> auto-convert cluster properties to new syntax on startup.



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

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



[jira] [Commented] (SOLR-12827) Migrate cluster wide defaults syntax in cluster properties to a nested structure

2018-10-04 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12827:


Commit 60c75e4aadd2293036e1ba499eb4487968c2a17f in lucene-solr's branch 
refs/heads/branch_7x from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=60c75e4 ]

SOLR-12827: Fix blurb in ref guide to say that the key is deprecated instead of 
saying that it is no longer supported.

(cherry picked from commit 793a677d0f62e2bcfeae7e0abb42b5f7ab40126e)


> Migrate cluster wide defaults syntax in cluster properties to a nested 
> structure
> 
>
> Key: SOLR-12827
> URL: https://issues.apache.org/jira/browse/SOLR-12827
> Project: Solr
>  Issue Type: Task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: SolrCloud
>Reporter: Shalin Shekhar Mangar
>Priority: Major
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12827.patch
>
>
> SOLR-12387 introduced cluster wide defaults for collection properties. 
> However, the syntax committed is flat and ugly e.g. collectionDefaults 
> instead of defaults/collection inspite of the latter being proposed by 
> Andrzej. Anyway, we should change the format now before it sees widespread 
> use. I propose to fix documentation to describe the new format and 
> auto-convert cluster properties to new syntax on startup.



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

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



[jira] [Commented] (SOLR-12827) Migrate cluster wide defaults syntax in cluster properties to a nested structure

2018-10-04 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12827:


Commit 5b4814eb580ca8469e88d9a8eaea111c9d4ae287 in lucene-solr's branch 
refs/heads/branch_7x from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5b4814e ]

SOLR-12827: Migrate cluster wide defaults syntax in cluster properties to a 
nested structure

The cluster wide defaults structure has changed from {collectionDefaults: 
{nrtReplicas : 2}} to {defaults : {collection : {nrtReplicas : 2}}}.  The old 
format continues to be supported and can be read from ZK as well as written 
using the V2 set-obj-property syntax but it is deprecated and will be removed 
in Solr 9. We recommend that users change their API calls to use the new format 
going forward.

(cherry picked from commit 152fd966a7a23b4a5379d9b24ae731ef4fe58766)


> Migrate cluster wide defaults syntax in cluster properties to a nested 
> structure
> 
>
> Key: SOLR-12827
> URL: https://issues.apache.org/jira/browse/SOLR-12827
> Project: Solr
>  Issue Type: Task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: SolrCloud
>Reporter: Shalin Shekhar Mangar
>Priority: Major
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12827.patch
>
>
> SOLR-12387 introduced cluster wide defaults for collection properties. 
> However, the syntax committed is flat and ugly e.g. collectionDefaults 
> instead of defaults/collection inspite of the latter being proposed by 
> Andrzej. Anyway, we should change the format now before it sees widespread 
> use. I propose to fix documentation to describe the new format and 
> auto-convert cluster properties to new syntax on startup.



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

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



[jira] [Commented] (SOLR-12827) Migrate cluster wide defaults syntax in cluster properties to a nested structure

2018-10-04 Thread Shalin Shekhar Mangar (JIRA)


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

Shalin Shekhar Mangar commented on SOLR-12827:
--

Thanks Andrzej. I'll change that to say:
{code}
NOTE: Until Solr 7.5, cluster properties supported a "collectionDefaults" key 
which is now deprecated. Using the API
structure for Solr 7.4 or Solr 7.5 with "collectionDefaults" will continue to 
work but the format of the properties 
will automatically be converted to the new nested structure. Support for the 
"collectionDefaults" key will be 
removed in Solr 9.
{code}

> Migrate cluster wide defaults syntax in cluster properties to a nested 
> structure
> 
>
> Key: SOLR-12827
> URL: https://issues.apache.org/jira/browse/SOLR-12827
> Project: Solr
>  Issue Type: Task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: SolrCloud
>Reporter: Shalin Shekhar Mangar
>Priority: Major
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12827.patch
>
>
> SOLR-12387 introduced cluster wide defaults for collection properties. 
> However, the syntax committed is flat and ugly e.g. collectionDefaults 
> instead of defaults/collection inspite of the latter being proposed by 
> Andrzej. Anyway, we should change the format now before it sees widespread 
> use. I propose to fix documentation to describe the new format and 
> auto-convert cluster properties to new syntax on startup.



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

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



[jira] [Commented] (SOLR-12827) Migrate cluster wide defaults syntax in cluster properties to a nested structure

2018-10-04 Thread Andrzej Bialecki (JIRA)


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

Andrzej Bialecki  commented on SOLR-12827:
--

+1.

Minor nit in the adoc: {{"collectionDefaults" key which is no longer 
supported}} should probably read "deprecated" or not recommended, because it's 
still supported.


> Migrate cluster wide defaults syntax in cluster properties to a nested 
> structure
> 
>
> Key: SOLR-12827
> URL: https://issues.apache.org/jira/browse/SOLR-12827
> Project: Solr
>  Issue Type: Task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: SolrCloud
>Reporter: Shalin Shekhar Mangar
>Priority: Major
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12827.patch
>
>
> SOLR-12387 introduced cluster wide defaults for collection properties. 
> However, the syntax committed is flat and ugly e.g. collectionDefaults 
> instead of defaults/collection inspite of the latter being proposed by 
> Andrzej. Anyway, we should change the format now before it sees widespread 
> use. I propose to fix documentation to describe the new format and 
> auto-convert cluster properties to new syntax on startup.



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

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



[jira] [Commented] (SOLR-12827) Migrate cluster wide defaults syntax in cluster properties to a nested structure

2018-10-04 Thread Shalin Shekhar Mangar (JIRA)


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

Shalin Shekhar Mangar commented on SOLR-12827:
--

This patch migrates the nested cluster properties format to:
{code}
{
  "defaults" : {
"collection": {
  "numShards": 2,
  "numNrtReplicas": 2,
}
  }
}
{code}

The old format can be read from ZK. It can also be written using the APIs. 
However, it is auto-converted to the new format on reads and writes. We can get 
rid of the conversion logic in Solr 9.

The patch also updates the reference guide to mention only the new format. I 
added a note saying that the old API syntax continues to be supported but it 
will be auto-converted.

I'll commit once tests and precommit pass.

> Migrate cluster wide defaults syntax in cluster properties to a nested 
> structure
> 
>
> Key: SOLR-12827
> URL: https://issues.apache.org/jira/browse/SOLR-12827
> Project: Solr
>  Issue Type: Task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: SolrCloud
>Reporter: Shalin Shekhar Mangar
>Priority: Major
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12827.patch
>
>
> SOLR-12387 introduced cluster wide defaults for collection properties. 
> However, the syntax committed is flat and ugly e.g. collectionDefaults 
> instead of defaults/collection inspite of the latter being proposed by 
> Andrzej. Anyway, we should change the format now before it sees widespread 
> use. I propose to fix documentation to describe the new format and 
> auto-convert cluster properties to new syntax on startup.



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

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