Name

MV_DEFAULT_SEARCH_FILE — (partly documented)

SYNOPSIS

{ }

DESCRIPTION

It specifies the file to be used for text 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_FILE is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/TextSearch.pm
Line 82 (context shows lines 72-86 in init():67)

$s->{mv_begin_string}       = [];
$s->{mv_all_chars}          = [1];
$s->{mv_case}               = [];
$s->{mv_column_op}          = [];
$s->{mv_negate}             = [];
$s->{mv_numeric}            = [];
$s->{mv_orsearch}           = [];
$s->{mv_searchspec}          = [];
$s->{mv_search_group}       = [];
$s->{mv_search_field}       = [];
$s->{mv_search_file}        = $::Variable->{MV_DEFAULT_SEARCH_FILE}
                || ['products.asc'];
$s->{mv_searchspec}         = [];
$s->{mv_sort_option}        = [];
$s->{mv_substring_match}    = [];

Source: lib/Vend/TextSearch.pm
Line 119 (context shows lines 109-123 in search():103)

my($dict_limit,$f,$key,$val);
my($searchfile, @searchfiles);
my(@specs);
my(@pats);

while (($key,$val) = each %options) {
  $s->{$key} = $val;
}

unless (@searchfiles = @{$s->{mv_search_file}}) {
  @searchfiles = @{$::Variable->{MV_DEFAULT_SEARCH_FILE}};
}
#::logDebug("searchfiles=@searchfiles");
for(@searchfiles) {
  $_ = Vend::Util::catfile($s->{mv_base_directory}, $_)

Source: lib/Vend/Glimpse.pm
Line 85 (context shows lines 75-89 in init():66)

$s->{mv_negate}             = [];
$s->{mv_numeric}            = [];
$s->{mv_orsearch}           = [];
$s->{mv_searchspec}          = [];
$s->{mv_search_group}       = [];
$s->{mv_search_field}       = [];
$s->{mv_search_file}        = [];
$s->{mv_searchspec}         = [];
$s->{mv_sort_option}        = [];
$s->{mv_substring_match}    = [];
$s->{mv_field_file}         = $::Variable->{MV_DEFAULT_SEARCH_FILE}[0];
$s->{glimpse_cmd} = $Vend::Cfg->{Glimpse} || 'glimpse';

for(keys %$options) {
  $s->{$_} = $options->{$_};

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!