epugh commented on PR #5406:
URL: https://github.com/apache/solr/pull/5406#issuecomment-7288375627
Looking very much forward to this. One question, and I don't want to
derail you in any way, since glad you are adding the Solr Cloud level
support..... What do you think about adding
`/admin/collections?action=UPGRADEINDEX&name=<collection>` as a V2 style API
only, and not adding it to the V1 api footprint? I poked at your PR jsut a bit
and I think it would look like:
```
POST /api/collections/{collectionName}/upgrade-index
Content-Type: application/json
{
"followAliases": true,
"replicaConvergenceTimeoutSecs": 600,
"async": "upgrade-1"
}
```
On the other hand, I also totally get that if you are most comfortable with
the V1 style, then just focus on that in order to get things to done done! we
still have a long ways to go before the V2 collection level apis are done. The
current status is _ about two-thirds migrated. Of the 46 v1 actions that
CollectionsHandler exposes, 35 have a modern JAX-RS v2 endpoint, 5 have only
the older annotation-style v2, and 6 have nothing. UPGRADEINDEX, from this PR,
is one of the six._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]