Closed (fixed)
Project:
Apache Solr Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2012 at 14:57 UTC
Updated:
2 Jul 2012 at 14:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
milesw commentedThis sounds like it could potentially resolve #1481326: Queries run twice after submitting search forms on a custom search page
Comment #2
pwolanin commentedsounds more like a bug?
Comment #3
nick_vhis this an RC blocker? Don't think so
Comment #4
nick_vhSo, this patch does exactly that.
The smallest one is the improved one, so this does help performance wise, whenever you are running the same query twice on the same page. Logically, this does not change anything if you are not executing a query twice on the same page.
Comment #5
nick_vhwrong patch file, apologies
Comment #6
nick_vhComment #7
nick_vhneeds backport, committed to 7.x-1.x
Comment #8
killua99 commentedPorted, I test it with the apachesolr search module.
Comment #9
pwolanin commentedShould this check happen earlier - before the drupal_alter?
Comment #10
nick_vhSince the query alter wouldn't do anything useful before returning the cached results, I agree here.
Patch is for 7.x-1.x
Comment #11
nick_vhCommitted to 7.x-1.x and 6.x-3.x
Comment #12
nick_vhComment #12.0
nick_vhUpdated issue summary.