I don't understand the error you get, but this line is
wrong:
> my $final_query = Search::Xapian::Query(OP_AND,
($xapian_query, $xapian_query2));
That should be:
my $final_query = Search::Xapian::Query->new(OP_AND,
($xapian_query, $xapian_query2));
Or just:
my $final_query = Search::Xapian::Query->new(OP_AND,
$xapian_query, $xapian_query2);
If that's not it, can you post a complete example script?
It's much
harder to work with just a snippet (for a start, I've no
idea what
"entry" does, or which line is line 42...)
Cheers,
Olly
_______________________________________________
Xapian-discuss mailing list
Xapian-discuss lists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss
a>
|