Skip to content

Useful Commands

Edho Arief edited this page Dec 7, 2023 · 10 revisions

Resynchronise all news posts

tinker> NewsPost::syncAll()

Reset usergroups cache

tinker> app('groups')->resetCache()

Reindex all beatmapsets for search

php artisan es:index-documents --types=beatmapsets --inplace

Reindex all artist tracks/beatmapsets/posts/users (the ones in main es instance) for search

php artisan es:index-documents --inplace

Remove --inplace parameter to create new index instead.

Available --types option:

  • artist_tracks
  • beatmapsets
  • posts
  • users Multiple types can be specified separated by comma.
Clone this wiki locally