Searching contents in PDF files

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
highstream
Posts: 328
Joined: 10 Apr 2010 21:43

Searching contents in PDF files

Post by highstream »

How does one look for a specific word in a directory full of pdf files? I've been doing a Contents search for (e.g.) "California" and should get lots of hits, but don't get any. What's the trick? thanks,

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Searching contents in PDF files

Post by serendipity »

highstream wrote:How does one look for a specific word in a directory full of pdf files? I've been doing a Contents search for (e.g.) "California" and should get lots of hits, but don't get any. What's the trick? thanks,
I don't normally search within PDF files but tried it just to test. Seems like XY uses "Raw view" to locate text inside PDFs. But you are right, its not finding the intended text.

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Searching contents in PDF files

Post by nas8e9 »

serendipity wrote:
highstream wrote:How does one look for a specific word in a directory full of pdf files? I've been doing a Contents search for (e.g.) "California" and should get lots of hits, but don't get any. What's the trick? thanks,
I don't normally search within PDF files but tried it just to test. Seems like XY uses "Raw view" to locate text inside PDFs. But you are right, its not finding the intended text.
AFAICT .PDF's are mostly a binary format and thus impossible to search without a binary converter/filter. Windows Explorer and other FM's that borrow heavily from it, use something called IFilters, which XYplorer doesn't currently hook into.

Although not on the public roadmap, I seem to recall (but can't find) Don posting about evaluating and considering IFilter support, although he considered it tricky at the time. There's a lot of other Preview work already scheduled, so maybe?

highend
Posts: 14955
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Searching contents in PDF files

Post by highend »

As one of (the many) alternatives you can use the windows search with the appropriate ifilter (e.g. Adobe) component.

Or: http://www.copernic.com/en/products/des ... index.html but this one is maybe a bit overpowered for what you need.
One of my scripts helped you out? Please donate via Paypal

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Searching contents in PDF files

Post by serendipity »

Also most common PDF readers can search multiple files at once:
http://www.makeuseof.com/tag/search-tex ... ed-search/

highstream
Posts: 328
Joined: 10 Apr 2010 21:43

Re: Searching contents in PDF files

Post by highstream »

That link for PDF X-Change Viewer did the trick. Powerful, quick search. Thanks.

Post Reply