Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
9.2
-
None
Description
Replication Handler has no v2 equivalent. This ticket is covering few endpoints from ReplicationHandler such as Get IndexVersion, Get FileStream, Get File List.
Existing V1
GET /solr/collName/replication?command=filecontent |
Proposed API design
GET /api/cores/coreName/replication/files/filePath |
few other pointers that might be helpful, especially for newcomers:
- The v1 logic for this API lives in ReplicationHandler
- Some discussion of how APIs work in Solr (Particularly the "APIs in Solr" section.)
- A step-by-step guide to creating APIs using the preferred v2 API framework
- A recent PR that adds a v2 API, as an example