[open-ils-commits] r18233 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg (gmc)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 7 21:34:10 EDT 2010


Author: gmc
Date: 2010-10-07 21:34:08 -0400 (Thu, 07 Oct 2010)
New Revision: 18233

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
Log:
do not apply superpage limit inside bib search joins

Oddly, empirical evidence suggests that this might actually 
be faster, and if this pans out, search results will definitely
be more complete.

Signed-off-by: Galen Charlton <gmc at esilibrary.com>


Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm	2010-10-07 22:48:12 UTC (rev 18232)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm	2010-10-08 01:34:08 UTC (rev 18233)
@@ -599,7 +599,8 @@
                     @bump_fields = @{$self->QueryParser->search_fields->{$node->classname}};
                 }
 
-                $from .= "\n\t\tLIMIT $core_limit\n\t) AS $talias ON (m.source = ${talias}.source)";
+                ###$from .= "\n\t\tLIMIT $core_limit";
+                $from .= "\n\t) AS $talias ON (m.source = ${talias}.source)";
 
 
                 my %used_bumps;



More information about the open-ils-commits mailing list