[open-ils-commits] r19597 - trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Mar 7 11:02:41 EST 2011
Author: miker
Date: 2011-03-07 11:02:38 -0500 (Mon, 07 Mar 2011)
New Revision: 19597
Modified:
trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm
Log:
Teach storage to initialize the new bits of QueryParser
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm 2011-03-07 16:02:36 UTC (rev 19596)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm 2011-03-07 16:02:38 UTC (rev 19597)
@@ -2805,6 +2805,17 @@
'open-ils.cstore.direct.config.metabib_search_alias.search.atomic',
{ alias => { "!=" => undef } }
)->gather(1),
+ config_metabib_field_index_norm_map =>
+ $cstore->request(
+ 'open-ils.cstore.direct.config.metabib_field_index_norm_map.search.atomic',
+ { id => { "!=" => undef } },
+ { flesh => 1, flesh_fields => { cmfinm => [qw/norm/] }, order_by => [{ class => "cmfinm", field => "pos" }] }
+ )->gather(1),
+ config_record_attr_definition =>
+ $cstore->request(
+ 'open-ils.cstore.direct.config.record_attr_definition.search.atomic',
+ { id => { "!=" => undef } }
+ )->gather(1),
);
$cstore->disconnect;
@@ -3051,11 +3062,11 @@
if (!$parser->initialization_complete) {
my $cstore = OpenSRF::AppSession->create( 'open-ils.cstore' );
$parser->initialize(
- config_metabib_field_index_norm_map =>
+ config_record_attr_index_norm_map =>
$cstore->request(
- 'open-ils.cstore.direct.config.metabib_field_index_norm_map.search.atomic',
+ 'open-ils.cstore.direct.config.record_attr_index_norm_map.search.atomic',
{ id => { "!=" => undef } },
- { flesh => 1, flesh_fields => { cmfinm => [qw/norm/] }, order_by => [{ class => "cmfinm", field => "pos" }] }
+ { flesh => 1, flesh_fields => { crainm => [qw/norm/] }, order_by => [{ class => "crainm", field => "pos" }] }
)->gather(1),
search_relevance_adjustment =>
$cstore->request(
@@ -3072,6 +3083,17 @@
'open-ils.cstore.direct.config.metabib_search_alias.search.atomic',
{ alias => { "!=" => undef } }
)->gather(1),
+ config_metabib_field_index_norm_map =>
+ $cstore->request(
+ 'open-ils.cstore.direct.config.metabib_field_index_norm_map.search.atomic',
+ { id => { "!=" => undef } },
+ { flesh => 1, flesh_fields => { cmfinm => [qw/norm/] }, order_by => [{ class => "cmfinm", field => "pos" }] }
+ )->gather(1),
+ config_record_attr_definition =>
+ $cstore->request(
+ 'open-ils.cstore.direct.config.record_attr_definition.search.atomic',
+ { id => { "!=" => undef } }
+ )->gather(1),
);
$cstore->disconnect;
More information about the open-ils-commits
mailing list