[
https://issues.apache.org/jira/browse/SOLR-12224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18054394#comment-18054394
]
ASF subversion and git services commented on SOLR-12224:
--------------------------------------------------------
Commit 50a7ccf5a4d947b7e885b9865f615e587f70961c in solr's branch
refs/heads/branch_9x from Jason Gerlowski
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=50a7ccf5a4d ]
SOLR-12224: Add APIs to read collection properties (#4071)
Prior to this PR Solr allowed users to write collection properties but never
read them. This commit adds two new APIs to serve this need: the first for
listing all properties (`GET /api/collections/someCollName/properties`) and the
second for fetching a single property by name (`GET
/api/collections/someCollName/properties/somePropName`).
Corresponding SolrJ "SolrRequest" and "SolrResponse" classes are also
generated based on the OAS definition for these new APIs.
> there is no API to read collection properties
> ---------------------------------------------
>
> Key: SOLR-12224
> URL: https://issues.apache.org/jira/browse/SOLR-12224
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 7.3
> Reporter: Hendrik Haddorp
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Solr 7.3 added the COLLECTIONPROP API call
> (https://lucene.apache.org/solr/guide/7_3/collections-api.html#collectionprop)
> that allows to set arbitrary properties on a collection. There is however no
> API call that returns the data. The only option is to manually read out the
> collectionprops.json file in ZK below the collection.
> Options could be that the COLLECTIONPROP command has an option to retrieve
> properties, have a special command to list the properties and/or to have the
> properties listed in the clusterstatus output for a collection.
> Would be great if SolrJ would also be supported.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]