epugh commented on code in PR #2734: URL: https://github.com/apache/solr/pull/2734#discussion_r1847025065
########## solr/solr-ref-guide/modules/deployment-guide/pages/user-managed-index-replication.adoc: ########## @@ -457,6 +457,51 @@ http://_host:port_/api/cores/_core_name_/replication/files?generation=<_generati + You can discover the generation number of the index by running the `indexversion` command. +`filecontent`:: +Retrieve a stream of a specific file path of a core. + ++ +==== +[.tab-label]*V1 API* + +[source,bash] +---- +http://_host:port_/solr/_core_name_/replication?command=filecontent&<_directory-type_>=<_file-path_>&wt=filestream + +---- +==== ++ +==== +[.tab-label]*V2 API* + +[source,bash] +---- +http://_host:port_/api/cores/_core_name_/replication/files/<_file-path_>&dirType=<_directory-type_> + +---- +==== ++ +Directory type is required for both V1 and V2 with 3 parameter supported types: + +* `file` Read from Lucene index file directory + +* `cf` Read from Configuration file directory + +* `tlogFile` Read from Tlog file directory + ++ +There are several supported optional request parameters: Review Comment: maybe "server optional" ########## solr/solr-ref-guide/modules/deployment-guide/pages/user-managed-index-replication.adoc: ########## @@ -457,6 +457,51 @@ http://_host:port_/api/cores/_core_name_/replication/files?generation=<_generati + You can discover the generation number of the index by running the `indexversion` command. +`filecontent`:: +Retrieve a stream of a specific file path of a core. + ++ +==== +[.tab-label]*V1 API* + +[source,bash] +---- +http://_host:port_/solr/_core_name_/replication?command=filecontent&<_directory-type_>=<_file-path_>&wt=filestream + +---- +==== ++ +==== +[.tab-label]*V2 API* + +[source,bash] +---- +http://_host:port_/api/cores/_core_name_/replication/files/<_file-path_>&dirType=<_directory-type_> + +---- +==== ++ +Directory type is required for both V1 and V2 with 3 parameter supported types: + +* `file` Read from Lucene index file directory + +* `cf` Read from Configuration file directory + +* `tlogFile` Read from Tlog file directory + ++ +There are several supported optional request parameters: Review Comment: maybe "several optional" -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org