Skip to content

index endpoint in API #1826

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

Open
wants to merge 9 commits into
base: feature/index-status-check
Choose a base branch
from

Conversation

lukavdplas
Copy link
Contributor

Adds a viewset to the backend API to start and inspect index jobs. There is no endpoint for cancelling jobs because I need to finish #1799 first for that.

Also:

  • Fixes an issue where the corpus JSON import fails if a text_content field has visualize: false.
  • When an index job is started but the corpus fails validation, there was some code to cancel the job, but it would continue anyway and possibly fail later. This is now fixed. (Though I may adjust the implementation after interrupt index jobs #1799.)

@lukavdplas lukavdplas marked this pull request as ready for review June 27, 2025 11:31
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.

1 participant