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

oaiserver: add rebuild index method #1527

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

slint
Copy link
Member

@slint slint commented Oct 10, 2023


def rebuild_index(self, identity):
"""Rebuild OAI sets percolator index."""
entries = db.session.query(OAISet.spec, OAISet.search_pattern).yield_per(1000)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to comment on this but you've updated :)

@slint slint merged commit 8641d3b into inveniosoftware:master Oct 11, 2023
4 checks passed
@slint slint deleted the index-oaisets branch October 11, 2023 16:40
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

Successfully merging this pull request may close these issues.

3 participants