Displaying 1 result from an estimated 1 matches for "datevrp1".
Did you mean:
datevrp2
2015 Sep 09
2
custom ValueRangeProcessor in Perl?
...ow are my attempts at making my own ValueRangeProcessor class.
Thanks in advance for any help or pointers you can provide.
Disclaimer: I am not knowledgeable in XS, SWIG, C++, or experienced
in using Xapian at all.
# Try #1 with subclassing NumberValueRangeProcessor:
package PublicInbox::Search::DateVRP1;
use strict; use warnings;
use base 'Search::Xapian::NumberValueRangeProcessor';
sub new {
my ($class, @args) = @_;
Search::Xapian::NumberValueRangeProcessor::new($class, @args);
}
# doesn't seem to get called
sub process_value_range {
use Data::Dumper; print STDE...