Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate / reindex data from one index to another #715

Open
garygreen opened this issue May 28, 2019 · 0 comments

Comments

2 participants
@garygreen
Copy link

commented May 28, 2019

Is there any easy way to reindex from one index to another e.g. to help support altering schema? Currently it seems like you would need to get the list of keys, ADDHASH for every key then use DROP with KEEPDOCS flag on the old index.

If that's the case, could Redis Search provide a more convenient way to reindex all the data?

Possibly something like:

# Add all the keys from "source index" to "destination index"
FT.REINDEX <source index> <destination index>

This means you can keep everything done in Redis Search which would be far simpler and more performant.

Possibly related to: #297

@gkorland gkorland added this to To do in 2.0.0 via automation Jul 1, 2019

@K-Jo K-Jo removed this from To do in 2.0.0 Jul 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.