Displaying 1 result from an estimated 1 matches for "datevrp2".
Did you mean:
datevrp1
2015 Sep 09
2
custom ValueRangeProcessor in Perl?
...lass, @args) = @_;
Search::Xapian::NumberValueRangeProcessor::new($class, @args);
}
# doesn't seem to get called
sub process_value_range {
use Data::Dumper; print STDERR "PVR called ", Dumper(\@_);
1;
}
1;
# Try 2 without subclassing
package PublicInbox::Search::DateVRP2;
use strict; use warnings;
sub new {
my ($class, @args) = @_;
my $s = 1;
bless \$s, $class;
}
# doesn't seem to get called
sub process_value_range {
use Data::Dumper; print STDERR "PVR called ", Dumper(\@_);
1;
}
1;
[1] - sup: git clone git://git...