Closed (fixed)
Project:
Apache Solr Attachments
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2011 at 18:22 UTC
Updated:
31 Jul 2014 at 09:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wmostrey commentedThe queries to Solr need to happen of course. It shouldn't normally take so long though. Do normal search request also take quite long?
Comment #2
lambic commentedNormal queries seem fine. We are in the process of tuning our solr installation so that might improve things, but commits are the slowest operation that solr does, so maybe they should be deferred where possible.
Comment #3
traviscarden commentedapachesolr_attachments_remove_attachments_from_index(), called fromapachesolr_attachments_nodeapi(), invokes a Solr commit—an expensive, long-running operation which should not be waited on during a node save, and which according to Acquia, Solr runs automatically every few minutes anyway. Acquia recommends removing the operation as in the attached patch.Comment #4
janusman commentedShould be fixed in -1.x branches first. Switching version to 7.x-1.x. Probably needs a new patch as well.
Comment #5
janusman commentedNew patch.
Comment #6
nick_vhCommitted