do not apply superpage limit inside bib search joins
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 8 Oct 2010 01:34:08 +0000 (01:34 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 8 Oct 2010 01:34:08 +0000 (01:34 +0000)
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@esilibrary.com>

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18233 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm

index 76371be..94db0a4 100644 (file)
@@ -599,7 +599,8 @@ sub flatten {
                     @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;