Op za 20 mei 2023 om 21:18 schreef Shawn Heisey <apa...@elyograg.org>:
> Agreed. There are many situations outside of version upgrades where > rebuilding the index from scratch is an absolute requirement. It is > something all Solr users need to be able to do at ANY time. I used to > maintain an index where a full rebuild would quite literally take about > six or seven days, but I found a way to do it with zero downtime. > My rebuild procedure indexes the most recently added/modified documents first and works its way back through almost 20 years of data. When the most recent 1/4th of documents are reindexed after about a day, we can already satisfy 90% of the search requests. This doesn't necessarily mean users will always filter by date. For most searches they'll get fewer results until indexing is completed, but they most likely won't page far enough to notice the difference. It works because our default sort is by date and more recent results are usually preferred. Just throwing it out there because a similar might be "good enough" for someone else too. Thomas