Modern search result spfx webpart keeps firing PostQuery and browser errors Out of Memory
manishkaushal2015 opened this issue · 4 comments
Category
- Question
- Bug
Deployed sppkg file pnp-modern-search-parts.sppkg from the released version 3.13.0.0
Expected or Desired Behavior
Search box connected to SearchResults webpart. User searching in search box should yield results in Search Results webpart.
Observed Behavior
Search results appear on user input in search box but search results webpart keep loading. Record counts are shown correctly in Vertical Search webpart. Results webpart keeps firing search Post Queries without stopping. Please refer to screenshot attached for the number of queries fired for almost 3000 search results. The result is that it finally bringing down the webpage to out of memory. Tested on Chrome browser, got out of memory error. Removed webparts re-added.
Can you please direct me to a way of finding the underlying issue? Could it be due to a recent commit in code version 3.13?
Steps to Reproduce########
SP Tenant type: Developer tenant
Downloaded package pnp-modern-search-parts.sppkg released version 3.13.0.0
Deployed this package to tenant apps catalog, deployment setting available to all sites enabled.
Configured Search Box, Search Results and Refiner webparts as directed in the documentation.
Search results webpart should display results and not keep displaying data loader till the page dies.
Looking forward to your prompt help.
Results found 3240
No of Process Query Requests 3930 and still going on....
Issue logged in wrong repo. Webparts live in https://github.com/microsoft-search/pnp-modern-search
Also include which browser you use, how the web part is configured in terms of query templates etc.
Added this issue to the right location microsoft-search/pnp-modern-search#320