[KinoSearch] _02: RangeFilter problems
Marvin Humphrey
marvin at rectangular.com
Thu Mar 15 09:39:42 PDT 2007
On Mar 8, 2007, at 2:36 PM, Chris Nandor wrote:
> Oh, and then there's the first problem, the BooleanQuery thing.
> Here is
> the relevant portion of that code, changed from the last mail:
>
> my $bool_query = KinoSearch::Search::BooleanQuery->new;
> $bool_query->add_clause(query => $range_filter, occur => 'MUST');
> my $filter = KinoSearch::Search::QueryFilter->new(query =>
> $bool_query);
That crashes because RangeFilter is not a subclass of Query.
> how do I combine my $range_filter with other filters? Is it possible?
Not presently. I've been contemplating how to make this available
(i.e. procastinating) while working on a bunch of other problems.
The trick is how ranges should score.
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/
More information about the kinosearch
mailing list