[英]MarkLogic: Get all documents from a collection via REST
是否可以通过REST API从Marklogic中的指定集合中获取所有文档?
It should be possible to page over the documents with the /v1/search endpoint by specifying an Accept header of multipart/mixed; boundary="YOUR_BOUNDARY_HERE"
通过指定
multipart/mixed; boundary="YOUR_BOUNDARY_HERE"
的Accept标头,应该可以使用/ v1 / search端点翻页文档multipart/mixed; boundary="YOUR_BOUNDARY_HERE"
multipart/mixed; boundary="YOUR_BOUNDARY_HERE"
and the following query parameters: multipart/mixed; boundary="YOUR_BOUNDARY_HERE"
和以下查询参数:
collection
parameters (or a POST payload with collection queries) collection
参数(或带有集合查询的POST负载) view
parameter of none
view
参数none
start
parameter for the offset to the next page of the result set start
参数 For more information see: 有关更多信息,请参见:
http://docs.marklogic.com/REST/GET/v1/search http://docs.marklogic.com/REST/GET/v1/search
Hoping that helps, 希望能有所帮助,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.