Skip to content

Re-Isearch: Add a VM test#586

Merged
fricklerhandwerk merged 1 commit into
ngi-nix:mainfrom
OPNA2608:Re-Isearch/add-tests
Mar 13, 2025
Merged

Re-Isearch: Add a VM test#586
fricklerhandwerk merged 1 commit into
ngi-nix:mainfrom
OPNA2608:Re-Isearch/add-tests

Conversation

@OPNA2608
Copy link
Copy Markdown
Contributor

Closes #571

I tried to make it easy to add tests for further document formats, I hope this isn't overengineered.

I noticed that PDF indexing seemingly doesn't work. The code looks for an external filter tool called pdftomemo. On re-isearch master, there is an in-tree source checkout of xpdf at /filters/xpdf-3.01-bsn which can build this pdftomemo, but the package in Nixpkgs is too old to have this checkout.

Additionally, we do have an xpdf package in Nixpkgs… It is marked insecure due to having multiple known vulnerabilities. And that package has a version number higher than what's included in the repo… So we prolly don't want this anyway.

@fricklerhandwerk
Copy link
Copy Markdown
Contributor

Having that note in the code would be great so we don't lose track of that information.

Comment thread projects/Re-Isearch/test.nix Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Re-Isearch: Test: Index and Search a document

2 participants