navidrome search

Rebuild the full-text search index

The search command maintains the full-text search index.

Usage

navidrome search <subcommand> [flags]

All commands also accept the global flags.

Subcommands

SubcommandDescription
rebuildDelete the search index and build it again from the library data

search rebuild

Deletes the full-text search index and builds it again from your library data. The index only holds copies of data stored elsewhere in the database, so you lose nothing. Navidrome checks the new index before it saves it.

navidrome search rebuild [-f]

Use it in two cases:

  • navidrome doctor reports that the corruption is limited to the search index.
  • Search misses items that are in your library. doctor can’t detect an index that is out of sync but not corrupt, so a rebuild is the thing to try.

Without --force, the command asks you to type YES to continue.

Flags

FlagDefaultDescription
-f, --forcefalseSkip the confirmation prompt

Examples

# Check the database, then rebuild a corrupted search index
navidrome doctor
navidrome search rebuild

# With Docker Compose, stop the server first
docker compose stop navidrome
docker compose run --rm navidrome search rebuild
docker compose start navidrome