A Suggestion to Improve the Search Pane

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

User avatar
Bhikkhu Pesala
User
Posts: 1776
Joined: Tue May 29, 2007 9:29 am

A Suggestion to Improve the Search Pane

Post by Bhikkhu Pesala »

I tested the latest build of PDF-XChange with my huge (11,800 page) test document.

PDF-XChange now finds 7,100 occurrences of a common word in 2 mins 23 seconds (the previous build took 3 mins 5 secs).

Foxit takes about 5 mins 10 seconds for the same task, while Adobe Reader would take 17 or 18 mins if I waited that long.

Most documents won't be this long, so most searches will finish in < 30 seconds. Nevertheless, it could be improved by making the Stop button pause and resume the current search rather than just aborting it. In case users are searching long documents, they can pause after 5 or 10 seconds to see if the result is found, then resume the search if necessary later.

This is not important, but if it can be done easily, then please consider it.

Another Improvement

Adobe Reader starts searching from the current page, then continues from page 1 when it reaches the end of the document. I think this is more intelligent than starting from page 1 every time as PDF-XChange does. Better still would be to pause automatically at the end of the document, with a result like "Search summary: 1 documents, 710 entries, paused," and continue from page 1 if the user clicks on Resume Search.
Last edited by Bhikkhu Pesala on Wed Feb 04, 2009 6:04 pm, edited 1 time in total.
Windows 10 Home 64-bit • AMD Ryzen 5 3400G, 8 Gb
Review: http://www.softerviews.org/PDF-XChange.html
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: A Suggestion to Improve Search

Post by Ivan - Tracker Software »

I think this is more intelligent than starting from page 1 every time as PDF-XChange does.
The viewer start searches from the current page for opened document. It starts from page 1 only for files on the disk.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
User avatar
Bhikkhu Pesala
User
Posts: 1776
Joined: Tue May 29, 2007 9:29 am

Re: A Suggestion to Improve Search

Post by Bhikkhu Pesala »

Ivan - Tracker Software wrote:The viewer start searches from the current page for opened document. It starts from page 1 only for files on the disk.
You must be using the Find toolbar — it always starts searching from page 1 in the Search Pane, which is what I am suggesting improvements for.
Windows 10 Home 64-bit • AMD Ryzen 5 3400G, 8 Gb
Review: http://www.softerviews.org/PDF-XChange.html
benpal
User
Posts: 56
Joined: Thu Sep 21, 2006 7:49 am

Re: A Suggestion to Improve the Search Pane

Post by benpal »

You obviously use the Search function to search within one single document, and an exceptionally large one at that. I don't consider 2 or 3 minutes of search time excessive in this case. Why don't you use the Find function in the first place?

I'm using the Search function mainly to search through multiple documents, such as all documents in a specific folder. A search through 30 GB of data on my PC reveals 79 documents and 5000 entries and is accomplished in 7 minutes.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: A Suggestion to Improve the Search Pane

Post by Ivan - Tracker Software »

A search through 30 GB of data on my PC reveals 79 documents and 5000 entries and is accomplished in 7 minutes.
It is good or bad? :?: :roll:
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
User avatar
Bhikkhu Pesala
User
Posts: 1776
Joined: Tue May 29, 2007 9:29 am

Re: A Suggestion to Improve the Search Pane

Post by Bhikkhu Pesala »

benpal wrote:You obviously use the Search function to search within one single document, and an exceptionally large one at that. I don't consider 2 or 3 minutes of search time excessive in this case. Why don't you use the Find function in the first place?
I used an exceptionally large document to compare the speed of PDF-XChange with other viewers — a short time is hard to measure accurately.
Bhikkhu Pesala wrote:Most documents won't be this long, so most searches will finish in < 30 seconds.
Indeed, as my tests show, PDF-XChange Viewer completes the search in a very reasonable time considering the abnormal size of the document.

If searching an average long document of about 100-500 pages a user may wish to pause the search after 5 seconds rather than waiting for 30 seconds. The find toolbar is not designed for the same task — if it were, why bother with implementing the Search pane at all? The search pane shows a list of search results with their page numbers and context. Using the “find next” function twenty times until you find the relevant paragraph is not much fun at all.

If searching multiple documents for a search string, the pause feature would be even more useful than if searching a single long document.
Windows 10 Home 64-bit • AMD Ryzen 5 3400G, 8 Gb
Review: http://www.softerviews.org/PDF-XChange.html
User avatar
Giraffe
User
Posts: 203
Joined: Sun Feb 03, 2008 6:13 pm

Re: A Suggestion to Improve the Search Pane

Post by Giraffe »

Just tried a search in a fairly large PDF: the complete timetable for UK Railways, at 65.8MB and 2916 pages. I used this as there will be a lot of entries for almost any station due to the name appearing many times on a page.

Did 'Clapham'; it took 3.5 min. and came up with 940 instances!

BTW, the PDF took about 7s to open fully on what is basically an 'office' PC - very impressive.
User avatar
John - Tracker Supp
Site Admin
Posts: 5225
Joined: Tue Jun 29, 2004 10:34 am

Re: A Suggestion to Improve the Search Pane

Post by John - Tracker Supp »

Excellent - Pleased it performs well for you :)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com