Clear Index
Hi fellow zoteros: I've got about 50,000 entries in Zotero, mostly with PDF attachments. About 10,000 got indexed. Then indexing stopped (no matter how long I wait). Clearing Index does not work. Error message: "Error: Transaction timeout, most likely caused by unresolved pending work." This has been going on for quite some time (years!) now, meaning the issue did not get fixed over many release cycles. Settings: Maximum characters …: 50,000,000; Maximum pages …: 100,000; — see attached screenshots. Ideas? Any help very much appreciated. Thanx, Wen.
https://s3.amazonaws.com/zotero.org/images/forums/u15782064/ixx5239b5rjt3rgzkkms.png
https://s3.amazonaws.com/zotero.org/images/forums/u15782064/6rqt58ytsctxc6lo58ej.png
https://s3.amazonaws.com/zotero.org/images/forums/u15782064/ll9ce81jx3w6pyklqebl.png
https://s3.amazonaws.com/zotero.org/images/forums/u15782064/ixx5239b5rjt3rgzkkms.png
https://s3.amazonaws.com/zotero.org/images/forums/u15782064/6rqt58ytsctxc6lo58ej.png
https://s3.amazonaws.com/zotero.org/images/forums/u15782064/ll9ce81jx3w6pyklqebl.png
Why exactly are you trying to clear the index?
Have you tried running it and then not performing any other tasks in Zotero (including by temporarily disabling auto-sync)?
If so, can you provide a Debug ID for reproducing this?
ad 1): 100 pages is not enough for an index of the entire book, given that I have books in Zotero with more than 1,000 pages. I've no idea about the number of characters in a book. —Should I consider the Default values to be 'upper limits'?
ad 2) I try to clear / delete the index in order to be able to create a new index that will actually index ALL documents in the library. Indexing stopped at roughly 10,000 documents and so far I failed to 'restart' indexing … in order to get the remaining files indexed. The error message indicates that there is some unfinished business, but that's been the case for years now (I was hoping that some update will eventually fix the issue but now got impatient).
ad 3) Auto-sync has been permanently disabled for many years — it can't be the source of the problem. I think I have tried everything many times, including looking at the Activity Monitor on MacOS in order to see if Zotero is actually doing something. A change has appeared over time: In the 'early days' of the problem, I would not get an error message; Zotero would just stop indexing eventually. I think the error message started to pop up sometime last year. —I'm on beta release and usually update in a timely fashion. There should not be any limitations on the side of the hardware with MacBook Pro M3Max 128GB RAM 4TB SSD … I hope.
ad 4) Yes, I can create a Debug ID. What exactly do you want me to do … after "Restart with Logging Enabled …"?
Can you provide a Debug ID for clicking the reindex button next to an unindexed attachment and (presumably?) having it not work?
https://s3.amazonaws.com/zotero.org/images/forums/u15782064/1jevjilqz8ilwjm8sen5.png
ad 2) I played with a few documents: The "reindex button next to an unindexed attachment" works fine — the file gets indexed. The counter for indexed files in the Index Statistics gets updated accordingly. No issue here.
I think my problem is: 'bulk-(re)indexing' of un-indexed documents (PDFs) in the library. —Would a Debug ID for Rebuild Index… or Clear Index… be of help? (D1032347041 for Clear Index…). Clear Index does not clear the index: see error message posted above.