[KinoSearch] _02: RangeFilter problems
Chris Nandor
projects at pudge.net
Thu Mar 8 14:36:17 PST 2007
At 13:38 -0800 2007.03.08, Chris Nandor wrote:
>OK, here we go. This causes a segfault when $range_filter is used.
>Without $range_filter, I get the five results I expect.
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);
my $hits = $searcher->search(
query => $query,
filter => $filter,
);
I realize that this is probably not the way to do it, but then, how do I
combine my $range_filter with other filters? Is it possible?
--
Chris Nandor pudge at pobox.com http://pudge.net/
Open Source Technology Group pudge at ostg.com http://ostg.com/
More information about the KinoSearch
mailing list