Displaying 1 result from an estimated 1 matches for "xtid".
Did you mean:
tid
2006 Jan 31
1
retrieving attributes of searchresults
...);
_add_attr($doc, { # pass fields with multifield values as arrayref
'XAID' => $data->{article_id},
'XTITLE' => $title, # arrayref
'XDATE' => $data->{publicationdate},
'XTYPE' => $data->{articletype},
'XTID' => $tid, # arrayref
'XTXC' => $txc, # arrayref
});
my @words = _get_text($data,$title);
for my $i (0 .. $#words) {
my $w = $words[$i]; $w =~ s/[\.-]$//g;
$doc->add_posting($w,++$i) if $w;
}
$db->add_document($doc);
sub _add_attr {
my ($doc,$data) =...