# Auto-generated file -- DO NOT EDIT!!!!! =head1 NAME KinoSearch::Search::ORQuery - Union multiple result sets. =head1 SYNOPSIS my $foo_or_bar_query = KinoSearch::Search::ORQuery->new( children => [ $foo_query, $bar_query ], ); my $hits = $searcher->hits( query => $foo_or_bar_query ); ... =head1 DESCRIPTION ORQuery is a composite L which matches when any of its children match, so its result set is the union of their result sets. Matching documents recieve a summed score from all matching child Queries. =head1 CONSTRUCTORS =head2 new( I<[labeled params]> ) my $foo_or_bar_query = KinoSearch::Search::ORQuery->new( children => [ $foo_query, $bar_query ], ); =over =item * B - An array of child Queries. =back =head1 METHODS =head2 add_child(query) Add a child Query node. =head1 INHERITANCE KinoSearch::Search::ORQuery isa L isa L isa L. =head1 COPYRIGHT AND LICENSE Copyright 2005-2010 Marvin Humphrey This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut