[MNT-10425] Avoid multiple identical search requests Created: 20-Jan-14 Updated: 18-Jul-14 Resolved: 18-Apr-14
|Project:||Service Packs and Hot Fixes|
|Component/s:||Search and Indexing (non-UI), Share Application|
|Type:||Service Pack Request|
|Reporter:||Corentin Roux [X] (Inactive)||Assignee:||Closed Bugs (Inactive)|
|Remaining Estimate:||0 minutes|
|Time Spent:||1 day, 3 hours|
|Original Estimate:||Not Specified|
Tomcat6, PostgreSQL, Solr, firefox
When a end-user use the "quick search" box (top right corner of the Share UI) to search for some keywords the result page is shown.
Most of the time this is not a big issue but when the search server is struggling to handle a query this could have dramatic effect since it doubles the number of those queries.
Steps to reproduce
1- Install Alfresco 4.1.4 with Solr
The search button of Share result page should be disabled (or replaced by a cancel button) when search is in progress.
A second identical FTS query is sent to the server before Solr returned the result of the first one (See SolrQueryHTTPClient output is alfresco.log).
Analysis to date
Some complex FTS queries can consume up to several GB of memory on Solr.
|Comment by Alfresco QA Team (Inactive) [ 04-Mar-14 ]|
Successfully verified against Alfresco Enterprise v4.1.8 (r63222-b946), RHEL 6.4x64, ootb; client: Win7x64, FF last;