|
@@ -137,6 +137,7 @@ public class OutEsServiceImpl extends OutBaseService implements IOutEsService {
|
|
|
commands.add("--output");
|
|
|
commands.add(tmpDir + mappingName);
|
|
|
commands.add("--type=mapping");
|
|
|
+ commands.add("--limit=10000");
|
|
|
LinuxCommand.exec(commands);
|
|
|
//执行导出data命令
|
|
|
commands = new ArrayList<>();
|
|
@@ -146,6 +147,7 @@ public class OutEsServiceImpl extends OutBaseService implements IOutEsService {
|
|
|
commands.add("--output");
|
|
|
commands.add(tmpDir + dataName);
|
|
|
commands.add("--type=data");
|
|
|
+ commands.add("--limit=10000");
|
|
|
LinuxCommand.exec(commands);
|
|
|
} catch (Exception e) {
|
|
|
throw new RuntimeException(e);
|