Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [ManuGermany] Where is the Search_Weight ?

Quote Reply
Re: [ManuGermany] Where is the Search_Weight ? In reply to
Thanks for your answer, Manu.

But, if there are no Weights in DBMan SQL, what, in that case, means this sub (this is a part of GT::SQL::Table, sub new):

Code:


{ # Check for weights or file columns and set _file and _index accordingly

my ($found_file, $found_weight);

my $c = $self->{schema}->{cols};

for (keys %$c) {

if (!$found_file and $c->{$_}->{form_type} and uc $c->{$_}->{form_type} eq 'FILE') {

$self->_file_cols();

$self->{_file} = ++$found_file;

}

if (!$found_weight and $c->{$_}->{weight}) {

$self->{_index} = ++$found_weight;

}

last if $found_file and $found_weight;

}

}


..... and so on


There are 72 files with "weight" in "admin" directory of DBMan SQL package.

Hope, you now the answer.

Regards,

Paul
Subject Author Views Date
Thread Where is the Search_Weight ? Skiff 2929 Apr 18, 2003, 7:08 AM
Thread Re: [Skiff] Where is the Search_Weight ?
Skiff 2863 Apr 18, 2003, 6:20 PM
Thread Re: [Skif] Where is the Search_Weight ?
ManuGermany 2829 Apr 19, 2003, 6:15 AM
Thread Re: [ManuGermany] Where is the Search_Weight ?
Skiff 2803 Apr 25, 2003, 8:15 AM
Post Re: [Skiff] Where is the Search_Weight ?
604 2789 Apr 25, 2003, 9:38 AM