You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following setup can search the contents of 7000 .pdf files in 0.08 seconds on an i7-1260P (less than 12 microseconds per PDF).
To do so, each .pdf file is first converted to a .txt file, which is stored next to the .pdf. If necessary, OCR is performed. This process takes hours.
As soon as all .txt files are created, they can be quickly searched with ripgrep.
The solution is a bit hacky, but it's what I use at the moment. I'll probably benchmark it against ripgrep-all in the future, and maybe switch to that.
user@ansible-test:~ $ journalctl -u mongod.service | tail
[...]
Aug 08 17:29:42 ansible-test systemd[1]: Started mongod.service - MongoDB Database Server.
Aug 08 17:29:43 ansible-test systemd[1]: mongod.service: Main process exited, code=killed, status=31/SYS
Aug 08 17:29:43 ansible-test systemd[1]: mongod.service: Failed with result 'signal'.