Call Finalize() on *stm.Sitemap will automatically save the index & sitemap (chunk) file.
And, each chunk file should have < 50M & 50000 entries. If the limit is exceeded, It will automatically save the index & chunk, then add 1 to chunkNum, as the new chunk name.
Call
Finalize()
on*stm.Sitemap
will automatically save the index & sitemap (chunk) file. And, each chunk file should have < 50M & 50000 entries. If the limit is exceeded, It will automatically save the index & chunk, then add 1 tochunkNum
, as the new chunk name.