]> git.evergreen-ils.org Git - working/Evergreen.git/commit
webstaff: improve performance of open-ils.search.authority.simple_heading.from_xml
authorGalen Charlton <gmc@esilibrary.com>
Thu, 3 Sep 2015 21:13:27 +0000 (21:13 +0000)
committerJason Stephenson <jstephenson@mvlc.org>
Mon, 14 Sep 2015 19:44:19 +0000 (15:44 -0400)
commit6970735361eecb13327d61ac3437e99fbac128cd
tree467a7047a134c6bc1adf6185c83559d237206c4d
parent208ac82a84dae508952183e58e394cf877bf1b46
webstaff: improve performance of open-ils.search.authority.simple_heading.from_xml

Searching authority.record_entry by comparing are.simple_heading
with the results of authority.simple_normalize_heading() can result
in bad query plans; if we calculate the results of that function
first, we have a much better chance of hitting the index on
simple_heading.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Authority.pm