Hi,
Is there a limit on how many documents can be appended into 1. When testing we find that doing a merge of say 1700 records the part where appendDocument is called causes the process to go slow. I know it depends on the the document and data involved, but I was wondering if there is a way to speed this up? or a better approach.
I build a document list for each merge, then merge them all into 1.
List mergedList = new ArrayList();
Loop thru data and call merge function to return a merged doc for each record
while not end of query
{
mergedList.add(doMerge(.......))
}
That all runs quite fast, but the append is slow.
for (int x = 0; x <mergedList.size(); x++)
{
if (null != mergedDoc)
{
mergedDoc.appendDocument(mergedList.get(x), ImportFormatMode.USE_DESTINATION_STYLES);
}
else
{
mergedDoc = (Document) mergedList.get(x).deepClone(true);
}
}
Any help appreciated as we are still testing you’re product.
Thanks,
Eamonn