[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 988605ececad7850f2a7276b64a697b6b5c9ae31

Evergreen Git git at git.evergreen-ils.org
Tue Mar 25 15:33:58 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  988605ececad7850f2a7276b64a697b6b5c9ae31 (commit)
      from  5c364369b66ee41644dcc0b10b5dbf2695448faa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 988605ececad7850f2a7276b64a697b6b5c9ae31
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Fri Mar 21 22:44:42 2014 -0400

    LP#1290496: The quest for knowledge is over
    
    An apparently bad query plan causes Z39.50 searches of local
    catalog to take an extremely long time to complete.  One theory
    is that metabib.rec_descriptor is the culprit, but that has not
    been verified.
    
    This commit works around the immediate problem, but will need to
    be revisited.  Some questions include:
    
    1) Should we rewrite parts of open-ils.search.biblio.multiclass
    (and the underlying storage methods) to use the new attr structures
    more directly, rather than through a view of a view?
    
    2) Alternately, should we rip it out?  If so, we will need to also
    remove/nullify the "use_staged_search" option, since there will be
    no functional non-staged offering.
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
index 25cf4e5..0009024 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
@@ -1008,7 +1008,7 @@ sub cat_search_z_style_wrapper {
     $$searchhash{searches}{keyword}{term} .= join ' ', $$searchhash{searches}{keyword}{term}, $$args{search}{pubdate}   if $$args{search}{pubdate};
     $$searchhash{searches}{keyword}{term} .= join ' ', $$searchhash{searches}{keyword}{term}, $$args{search}{item_type} if $$args{search}{item_type};
 
-    my $list = the_quest_for_knowledge( $self, $client, $searchhash );
+    my ($list) = $self->method_lookup('open-ils.search.biblio.multiclass.staged')->run( $searchhash );
 
     if ($list->{count} > 0 and @{$list->{ids}}) {
         $result->{count} = $list->{count};

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/Application/Search/Biblio.pm       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list