Generate a tree id larger than any current id
Use TreeIdGenerator when creating a tree
Generate node ids based on document set id and tree id
Only use treeId to generate nodeIds
Insert tree in db when writing nodes
Produce documents for reclustering
Move ResultPage into common
Find documents ordered by id
Find documents by page
Produce documents for reclustering
Add new job type
Add hack to execute query
Tell consumer when production is complete
Create a reclustering job
Add entry to DocumentSetCreationJobTree when writing tree
Only delete job specific tree when restarting
Delete documents if there are no more trees
Only update existing trees
Don't delete document set for reclustering jobs
Clarify log message