I wish I could see the code behing this beacuse I feel it may not be optimised efficiently
I imagine that the table structures of master and supplemental indexes are the same so the same indexer/code can be used for both
But the merging seems to take forever, is it reindexing those books again from scratch?
If you have the data in the supplemental index, nothing should have changed... surely you could merge the indexes much faster and more effficiently using SQL to copy the exising data into the masterindex
INSERT INTO MasterIndex (F1,F2,...)
SELECT F1 as F1s,F2 as F2s
FROM SuplementIndex
WHERE condition
We would then be talking minutes rather than hours IMO