You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2022/10/14 03:41:00 UTC
[jira] [Commented] (SOLR-15751) Create a v2 equivalent for 'COLSTATUS'
[ https://issues.apache.org/jira/browse/SOLR-15751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17617438#comment-17617438 ]
Jason Gerlowski commented on SOLR-15751:
----------------------------------------
A few other pointers that might be helpful, especially for newcomers:
* One reasonable form for this API to take would be to just add support for additional parameters to the v2 API already defined in [CollectionStatusAPI|https://github.com/apache/solr/blob/c99af207c761ec34812ef1cc3054eb2804b7448b/solr/core/src/java/org/apache/solr/handler/admin/api/CollectionStatusAPI.java#L42]
* The COLSTATUS docs can be found [here|https://solr.apache.org/guide/8_1/collections-api.html#colstatus]. In particular I think we're looking to add v2 support for the coreInfo, segments, fieldInfo and sizeInfo params.
* [Some discussion of how to create a new v2 API|https://issues.apache.org/jira/browse/SOLR-15737?focusedCommentId=17565076&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17565076]
* [A recent PR that adds a v2 API, as an example|https://github.com/apache/solr/pull/1061/files] (Though this ticket might be slightly different since it's likely to involve adding to an existing API.)
> Create a v2 equivalent for 'COLSTATUS'
> --------------------------------------
>
> Key: SOLR-15751
> URL: https://issues.apache.org/jira/browse/SOLR-15751
> Project: Solr
> Issue Type: Sub-task
> Components: v2 API
> Reporter: Jason Gerlowski
> Priority: Major
> Labels: V2
>
> Solr's 'COLSTATUS' command under the v1 \{{/solr/admin/collections}} endpoint has no full v2 equivalent. The \{{/v2/collections/<collName>}} API has similar (identical?) output as a vanilla COLSTATUS request, but COLSTATUS can also return detailed index information that \{{/v2/collections/<collName>}} cannot expose. We should add parameters to this v2 API to expose similar data to achieve parity with the v1 COLSTATUS API.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org