diff --git a/docs/plan.md b/docs/plan.md index 942d0fc..c9edd6d 100644 --- a/docs/plan.md +++ b/docs/plan.md @@ -785,9 +785,11 @@ scores with the same split by source as the local check. The profile's score search then returned 500, for any search: the Lucene song and player indexes were written next to the DLL in the read-only `/nix/store` (phase 2 step 6 had planned to move them). Server `2631c46` adds `SearchIndexPath` -(MirrorMode, set to `/var/lib/plebleader/search`); nix-pleb bumps it. The -index rebuilds 2 s after the API starts and then every 6 h, so songs a sync -adds become searchable at the next rebuild. The next `plebleader-sync` +(MirrorMode, set to `/var/lib/plebleader/search`). Server `81f12ee` then +moved the rebuild into the importer: it replaces the indexes at the end of a +run that added scores (so at most once a day, right after the sync), or when +there are none. The API builds them only when missing; upstream appended every +song again every 6 h. nix-pleb `bcdd591`, `a313f5b` bump both. The next `plebleader-sync` run re-imports with the merge. ScoreSaber scores become BeatLeader `Score` rows, and each leaderboard keeps