sub register_map {
my ($self, $conn, $auth, $hint, $map) = @_;
+ my $e = new_editor(authtoken => $auth);
+ return $e->event unless $e->checkauth;
+
$key = 'flat_search_' . md5_hex(
$hint .
OpenSRF::Utils::JSON->perl2JSON( $map )
my $auth = shift;
my $key = shift;
+ my $e = new_editor(authtoken => $auth);
+ return $e->event unless $e->checkauth;
+
my $blob = $cache->get_cache( $key );
flattened_search( $self, $conn, $auth, $blob->{hint}, $blob->{map}, @_ )
# All but the last argument really are necessary.
$slo ||= {};
+ my $e = new_editor(authtoken => $auth);
+ return $e->event unless $e->checkauth;
+
# Process the map to normalize it, and to get all our joins and fleshing
# structure into the jffolo.
my $jffolo;