ord database must be reindexed, which means deleting the
database and restarting the indexing process with either
ord index update or
ord server. Reasons to reindex are:
- A new major release of ord, which changes the database scheme
- The database got corrupted somehow
ord uses is called redb,
so we give the index the default file name
index.redb. By default we store this
file in different locations depending on your operating system.
So to delete the database and reindex on MacOS you would have to run the following commands in the terminal:
rm ~/Library/Application Support/ord/index.redb
ord index update
You can of course also set the location of the data directory yourself with
ord --data-dir <DIR> index update or give it a specific filename and path with
ord --index <FILENAME> index update.