SearchText / SearchNext for large document

I have a 320+ page PDF document.  When I search for a word that occurs frequently in the document, then all works well.  For one example, I have a word that occurs at the beginning of the document and then not again until page 299.  When I select to SearchNext after the the first occurrence, the search never seems to complete.  The app seems to be calling pdfviewer/RenderPdfPages for each page it is searching even though it will not be rendering those pages.  Perhaps it is just too slow and I do not wait long enough.  In any case, there is no feedback to the user.  Is there a way to get feedback as the search is being performed?  Perhaps some page number that is being searched of similar?

This is for Blazor Web Assembly client side.

Regards,
Arthur

13 Replies 1 reply marked as answer

AA Akshaya Arivoli Syncfusion Team October 20, 2020 02:44 PM UTC

Hi Arthur ,   
  
Thank you for Contacting Syncfusion support. 

Currently we do not have support to show the loading indicator for the searching process. However we will analyze further on it and update you with more details on October 22, 2020 

Regards,  
Akshaya  



AB Arthur Butler October 20, 2020 03:51 PM UTC

Thanks for the quick response.  There are two issues here:

1. The search never completes.  It seems to search on 10 or so pages and then quits.  Could this be due to some timeout?

2. There is no feedback to the user when the search takes a long time.

Regards,
Arthur


AA Akshaya Arivoli Syncfusion Team October 21, 2020 11:17 AM UTC


Hi Arthur,   
  
Please find the details of your query from below,   
  
Query   
Details    
 The search never completes.  It seems to search on 10 or so pages and then quits.  Could this be due to some timeout?   
Our PDF Viewer searches for all the pages in the document and provides the search results. So can you please share with us the PDF document in which you are facing the issue, which will be helpful for us to investigate further and assist you better   
There is no feedback to the user when the search takes a long time.   
   
As we mentioned earlier, currently we do not have support to show the loading indicator for the searching process. However, we will analyze further on it and update you with more details on October 22, 2020    
  
   
Regards, 
Akshaya 



AA Akshaya Arivoli Syncfusion Team October 24, 2020 01:54 PM UTC

Hi Arthur , 

We have Confirmed that “Provide support to show the loading indicator for the searching process”  as a usability feature. The implementation for the feature will be included in our Volume 4 main release which will be available on mid of December 2020. 
 

Regards, 
Akshaya 



AA Akshaya Arivoli Syncfusion Team October 27, 2020 12:15 PM UTC

Hi Arthur, 

Please find the feedback link from the below, 


Regards,  
Akshaya  



AA Akshaya Arivoli Syncfusion Team December 18, 2020 01:55 PM UTC

Hi Arthur, 

Sorry for the inconvenience caused.  

We are facing some complexity and also we are working with high priority. So that fix for the reported issue was not included in our latest weekly NuGet release. However, we will implement the same and surely, it will be included in our upcoming weekly NuGet release on January 6th, 2021. 

Regards, 
Akshaya 



AA Akshaya Arivoli Syncfusion Team January 6, 2021 01:56 PM UTC

Hi Arthur, 

Sorry for the inconvenience caused.  

We have provided the support to show the loading indicator for searching process but the implementation for the feature was not included in our latest weekly release due to technical issue. However, it will be included in our upcoming weekly NuGet release on January 13, 2021. 

Regards, 
Akshaya  



AB Arthur Butler April 5, 2021 12:03 AM UTC

I am not seeing this in the latest v19.1.  Nor did I see anything in the documentation.  What do I need to do to turn this feature on?

Note that I am using a custom Find dialog and calling SearchText, SearchNext, and SearchPrevious.

Regards,
Arthur


DM Dhivyabharathi Mohan Syncfusion Team April 5, 2021 11:56 AM UTC

Hi Arthur, 
 
We have provided support to show the spinner while searching the texts in our PDF Viewer. We have shared the sample and video clip for your reference. 
 
 
 
Feedback link: 
 
  
 
 
 
 
 
Kindly upgrade to the latest version and let us know whether you are facing the same issue. So, that it will be helpful for us to investigate further and provide details. 
 
Regards, 
Dhivya. 



AB Arthur Butler April 6, 2021 06:10 AM UTC

Thanks for the example:

I am using a custom Find dialog and calling SearchText, SearchNext, and SearchPrevious functions myself.  Is there any event that will give me feedback as to when the search is completed or when we reach the end of the document?  I am thinking there should be.  I want the search to wrap to the beginning when it gets to the end of the document.  Note that I use SfPdfViewer (WASM)

I also see this other issue when testing your example:
1. Search for "asdf"

Good Result => "Viewer has finished searching the document..."

2. Clear the search box and search for "abcde".  The document is still on page 1.

Bad Result => busy cursor just keeps on spinning

Regards,
Arthur


VS Vasugi Sivajothi Syncfusion Team April 6, 2021 12:01 PM UTC

Hi Arthur, 
  
Please find the details, 
  
Query 
Details 
  
I am using a custom Find dialog and calling SearchText, SearchNext, and SearchPrevious functions myself.  Is there any event that will give me feedback as to when the search is completed or when we reach the end of the document?  I am thinking there should be.  I want the search to wrap to the beginning when it gets to the end of the document. 
  
  
Currently we do not have the events when the search is completed. We will analyze further and provide details on April 9th, 2021. 
  
  
  
I also see this other issue when testing your example: 
1. Search for "asdf" 
  
Good Result => "Viewer has finished searching the document..." 
  
2. Clear the search box and search for "abcde".  The document is still on page 1. 
  
Bad Result => busy cursor just keeps on spinning 
  
  
We were able to reproduce the reported issue with the provided details. We will analyze further and provide details on April 9th , 2021 
  
  
  
  
  
Regards, 
Vasugi. 



DM Dhivyabharathi Mohan Syncfusion Team April 9, 2021 06:23 PM UTC

Hi Arthur, 
 
Please find the details, 
 
                   Query 
                  Details 
I am using a custom Find dialog and calling SearchText, SearchNext, and SearchPrevious functions myself.  Is there any event that will give me feedback as to when the search is completed or when we reach the end of the document?  I am thinking there should be.  I want the search to wrap to the beginning when it gets to the end of the document.  
As we mentioned earlier we do not have the events when the search is completed  in Blazor. We have added it to our feature request list. At the planning stage for every release cycle, we review all open features. We will implement this feature in any of our upcoming releases.

Now, you can track the status through the below link.
 
 
I also see this other issue when testing your example:  
1. Search for "asdf"  
   
Good Result => "Viewer has finished searching the document..."  
   
2. Clear the search box and search for "abcde".  The document is still on page 1.  
   
Bad Result => busy cursor just keeps on spinning  
 
 
We have confirmed that “Search notification dialog not displaying properly”issue is a defect and logged the defect reported for the same. The fix for this issue will be included in our upcoming weekly nuget release on  28th   April 2021. You can track the status using the below feedback link. 
 
 
 
Regards, 
Dhivya. 



VS Vasugi Sivajothi Syncfusion Team April 29, 2021 03:34 PM UTC


Marked as answer
Loader.
Up arrow icon