[Koha-bugs] [Bug 12347] Search performance improvements

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 2 20:36:45 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12347

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 28623
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28623&action=edit
Bug 12347: Performance improvements in Search.pm

Short: some costly stuff is done twice, this patch refactors that to make it
more reasonable.

Long: Bug 11096 introduced a noticeable overhead to the facet building stage
of the getRecords code. This patch leverages it by propagating the MARC::Record
objects created upon facet building, and reusing them in the
C4::Search::searchResults
function.

To test:
- Search for a term on master
- Apply the patch
- Same results

Unit tests reflecting API change in a separate  patch.

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list