-
-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Better index cleanup #3808
Comments
@thommyhh Beside of that the ReIndex-Task uses already the write connection: ext-solr/Classes/Task/ReIndexTask.php Lines 86 to 93 in 1ed1c4a
But, there is currently no automation to switch the READ and WRITE connections automatically(solr_use_write_connection true|false). What do you think, can it help you? |
@thommyhh I wrote a Cleanup Command for that. Wanna give it a try? With it the strategy for "Re-indexing" is to re-initialize the index queue and then execute the command. So no documents are missing at any time in the index. I'm would appreciate, when the command finds its way into |
Is your feature request related to a problem? Please describe.
The
ReIndex
task deletes all documents from the index, leaving it empty until theIndexQueueWorker
has processed the queue. It removes only documents from the types, scheduled to be indexed, leaving files in the index forever.Describe the solution you'd like
A proper cleanup task, that accepts a time threshold to delete old documents, leaving the newer ones in the index.
Target versions
The newest release, but it may also be backported to 11.x, as this could really be helpful.
The text was updated successfully, but these errors were encountered: