Skip to content
Snippets Groups Projects
Commit 4e685511 authored by Shinsuke Sugaya's avatar Shinsuke Sugaya
Browse files

fix #1672 set scroll

parent 9acf6430
Branches
Tags
No related merge requests found
...@@ -180,7 +180,8 @@ public class AdminBackupAction extends FessAdminAction { ...@@ -180,7 +180,8 @@ public class AdminBackupAction extends FessAdminAction {
return asStream(filename).contentTypeOctetStream().stream( return asStream(filename).contentTypeOctetStream().stream(
out -> { out -> {
try (CurlResponse response = try (CurlResponse response =
ComponentUtil.getCurlHelper().get("/" + index + "/_data").param("format", "json").execute()) { ComponentUtil.getCurlHelper().get("/" + index + "/_data").param("format", "json")
.param("scroll", fessConfig.getIndexScrollSearchTimeout()).execute()) {
out.write(response.getContentAsStream()); out.write(response.getContentAsStream());
} }
}); });
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment