Skip to content

Allow creation of extra results after result editing#285

Merged
AdventurousGui merged 2 commits into
stjiris:devfrom
AdventurousGui:allow-recreate-extra-results
Sep 26, 2025
Merged

Allow creation of extra results after result editing#285
AdventurousGui merged 2 commits into
stjiris:devfrom
AdventurousGui:allow-recreate-extra-results

Conversation

@AdventurousGui
Copy link
Copy Markdown
Collaborator

This PR makes it so that additional result file types that have been set in the OCR Configuration interface after the conclusion of OCR will be considered when recreating the results after performing operations in the Results Editing interface. This way, it is possible to obtain additional formats without having to go through the OCR process again.

In the future, it should be considered whether file types removed from the list in the OCR Configuration shall be ignored when recreating. This requires some additional logic to ensure all the requested types are actually recreated, due to the optimizations that have been implemented to generate PDFs and the CSV index in one pass. However, it would prevent costly and unnecessary work for very large documents when a PDF has been generated initially and only a different result type is desired when recreating.

@AdventurousGui AdventurousGui self-assigned this Sep 26, 2025
@AdventurousGui AdventurousGui marked this pull request as ready for review September 26, 2025 00:56
@AdventurousGui AdventurousGui merged commit 406371f into stjiris:dev Sep 26, 2025
@AdventurousGui AdventurousGui deleted the allow-recreate-extra-results branch October 18, 2025 14:39
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