Hello,
Revision 2638 is having a moan during indexing in
.../KinoSearch/InvIndexer.pm line 113. Ignore this email if you're aware
of this due to the dev version being in flux.
Error:
Parameter error: odd number of args at /etc/test/indexer/indexer
.../KinoSearch/InvIndexer.pm line 113
KinoSearch::InvIndexer::add_doc('KinoSearch::InvIndexer=HASH(0x8c93424)',
'HASH(0x8ca4560)', 'boost', 0.999192897497982) called at
/etc/test/indexer/indexer line 1035
---
/etc/test/indexer/indexer line 1035:
$invindexer->add_doc( \%doc, boost => $doc_boost );
---
If I change add_doc() in .../KinoSearch/InvIndexer.pm:
--- InvIndexer.pm 2007-11-13 09:23:20.000000000 +0200
+++
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/KinoSearch/InvIndexer.pm
2007-11-13 09:09:35.000000000 +0200
@@ -106,7 +106,7 @@
sub add_doc {
my $self = shift;
my %args;
- if ( @_ == 1 ) {
+ if ( @_ == 3 ) {
%args = ( %add_doc_args, doc => $_[0] );
}
else {
Then indexing *appears* to succeed. I say *appears* since the index file
format has changed and I don't know what a healthy index (or group of)
file looks like (lots of seg_*.(p|lex.) etc files) - even after optimize.
Regards
Henry
_______________________________________________
KinoSearch mailing list
KinoSearch@rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch
Revision 2638 is having a moan during indexing in
.../KinoSearch/InvIndexer.pm line 113. Ignore this email if you're aware
of this due to the dev version being in flux.
Error:
Parameter error: odd number of args at /etc/test/indexer/indexer
.../KinoSearch/InvIndexer.pm line 113
KinoSearch::InvIndexer::add_doc('KinoSearch::InvIndexer=HASH(0x8c93424)',
'HASH(0x8ca4560)', 'boost', 0.999192897497982) called at
/etc/test/indexer/indexer line 1035
---
/etc/test/indexer/indexer line 1035:
$invindexer->add_doc( \%doc, boost => $doc_boost );
---
If I change add_doc() in .../KinoSearch/InvIndexer.pm:
--- InvIndexer.pm 2007-11-13 09:23:20.000000000 +0200
+++
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/KinoSearch/InvIndexer.pm
2007-11-13 09:09:35.000000000 +0200
@@ -106,7 +106,7 @@
sub add_doc {
my $self = shift;
my %args;
- if ( @_ == 1 ) {
+ if ( @_ == 3 ) {
%args = ( %add_doc_args, doc => $_[0] );
}
else {
Then indexing *appears* to succeed. I say *appears* since the index file
format has changed and I don't know what a healthy index (or group of)
file looks like (lots of seg_*.(p|lex.) etc files) - even after optimize.
Regards
Henry
_______________________________________________
KinoSearch mailing list
KinoSearch@rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch