Displaying 1 result from an estimated 1 matches for "publicinbox".
2015 Sep 09
2
custom ValueRangeProcessor in Perl?
...arsing library).
Below 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::...