Name

MV_DEFAULT_SEARCH_TABLE — (partly documented)

SYNOPSIS

{ }

DESCRIPTION

It specifies the table to be used for searches by default.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

MV_DEFAULT_SEARCH_TABLE is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/RefSearch.pm
Line 73 (context shows lines 63-77 in init():67)

mv_min_string           => 1,
verbatim_columns        => 1,
);

sub init {
my ($s, $options) = @_;

# autovivify references of nested data structures we use below, since they
# don't yet exist at daemon startup time before configuration is done
$Vend::Cfg->{ProductFiles}[0] or 1;
$::Variable->{MV_DEFAULT_SEARCH_TABLE} or 1;

@{$s}{keys %Default} = (values %Default);
$s->{mv_all_chars}          = [1];


Source: lib/Vend/RefSearch.pm
Line 89 (context shows lines 79-93 in init():67)

### that we will use if no base=table param is specified
$s->{mv_base_directory}     = $Vend::Cfg->{ProductFiles}[0];
$s->{mv_begin_string}       = [];
$s->{mv_case}               = [];
$s->{mv_column_op}          = [];
$s->{mv_negate}             = [];
$s->{mv_numeric}            = [];
$s->{mv_orsearch}           = [];
$s->{mv_search_field}       = [];
$s->{mv_search_file}        =  [ @{
                  $::Variable->{MV_DEFAULT_SEARCH_TABLE}
                  ||  $Vend::Cfg->{ProductFiles}
                  } ];
$s->{mv_search_group}       = [];
$s->{mv_searchspec}         = [];

Source: lib/Vend/DbSearch.pm
Line 74 (context shows lines 64-78 in init():68)

mv_min_string           => 1,
verbatim_columns        => 1,
);

sub init {
my ($s, $options) = @_;

# autovivify references of nested data structures we use below, since they
# don't yet exist at daemon startup time before configuration is done
$Vend::Cfg->{ProductFiles}[0] or 1;
$::Variable->{MV_DEFAULT_SEARCH_TABLE} or 1;

@{$s}{keys %Default} = (values %Default);
$s->{mv_all_chars}          = [1];


Source: lib/Vend/DbSearch.pm
Line 98 (context shows lines 88-102 in init():68)

$s->{mv_search_field}       = [];
$s->{mv_search_group}       = [];
$s->{mv_searchspec}         = [];
$s->{mv_sort_option}        = [];
$s->{mv_substring_match}    = [];

for(keys %$options) {
  $s->{$_} = $options->{$_};
}
$s->{mv_search_file}        =  [ @{
                  $::Variable->{MV_DEFAULT_SEARCH_TABLE}
                  ||  $Vend::Cfg->{ProductFiles}
                  } ]
  unless ref($s->{mv_search_file}) and scalar(@{$s->{mv_search_file}});


AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!