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

Allow pomegranate:reindex Rake task to be used in production #533

Closed
4 tasks done
escowles opened this issue Feb 28, 2019 · 2 comments · Fixed by #831
Closed
4 tasks done

Allow pomegranate:reindex Rake task to be used in production #533

escowles opened this issue Feb 28, 2019 · 2 comments · Fixed by #831

Comments

@escowles
Copy link
Member

escowles commented Feb 28, 2019

  • Move the pomegranate:reindex task out of the dev.rake which is only loaded in dev/test environments
  • Use IIIFResource.find_or_initialize_by instead of find_by to allow initial indexing with the Rake task
  • Allow finding the resource by noid, for items that have already been indexed once
  • add a task that commits the index
@hackartisan
Copy link
Member

seems like it would be nice to have a task that takes a noid, as well as one that could do an initial index.

@escowles
Copy link
Member Author

escowles commented Mar 1, 2019

Also, as long as we're updating our indexing Rake tasks, it would be good to have a task that commits the index, since we've disabled commits in our code, and autocommits take a long time.

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

Successfully merging a pull request may close this issue.

3 participants