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

Make the search_index command resumable #455

Open
mlissner opened this issue Jul 28, 2023 · 0 comments
Open

Make the search_index command resumable #455

mlissner opened this issue Jul 28, 2023 · 0 comments

Comments

@mlissner
Copy link

We have a database with millions of items and we're using the search_index command to add the content to elastic search.

We'd like to make it so that the script can be resumed if it crashes, since that's happened to us a few times.

I don't think that's currently possible, but if it's a welcome feature (and not too much work, we haven't looked at the code too much yet), we could probably submit a PR.

Is this welcome and useful?


Some background: We're moving from Solr, for which we have a very custom management command. It can:

  • Update or delete
  • Only do particular PKs
  • Resume operation after a given PK
  • And a few more things

We may just have to build ourselves a new custom command (perhaps an extension of this one), but it'd be great to add our features upstream if it makes sense.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant