ord icon indicating copy to clipboard operation
ord copied to clipboard

Feature request: `--reindex` flag

Open so7ow opened this issue 10 months ago • 5 comments

Allow users to specify this flag that will safely rename/archive/delete the default index.redb file and start again from scratch. 🙏🏻

so7ow avatar Apr 01 '24 17:04 so7ow

Prettiest would be if it would be a command that then restarts the server after

JoeyKhd avatar Apr 01 '24 20:04 JoeyKhd

Prettiest would be if it would be a command that then restarts the server after

Not sure I follow what you're looking for here. As I imagine it, running the --reindex flag would archive the old/out-of-date index.redb file and then begin a normal indexing run. Why does the server need to be restarted?

so7ow avatar Apr 02 '24 02:04 so7ow

I think this is a great feature!

Maybe just a simple subcommand like ord reindex, that moves the existing index.redb to index.redb.bak.

raphjaph avatar Apr 02 '24 19:04 raphjaph

I think this is a great feature!

Maybe just a simple subcommand like ord reindex, that moves the existing index.redb to index.redb.bak.

I'll take it!

so7ow avatar Apr 03 '24 02:04 so7ow

Awesome request, looking forward to the update.

lalotrage avatar Apr 05 '24 11:04 lalotrage