The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

# Auto-generated file -- DO NOT EDIT!!!!!

=head1 NAME

KinoSearch::Search::ORQuery - Union multiple result sets.

=head1 DEPRECATED

The KinoSearch code base has been assimilated by the Apache L<Lucy> project.
The "KinoSearch" namespace has been deprecated, but development continues
under our new name at our new home: L<http://lucy.apache.org/>

=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<Query|KinoSearch::Search::Query> 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<children> - An array of child Queries.

=back





=head1 METHODS

=head2 add_child(query)

Add a child Query node.



=head1 INHERITANCE

KinoSearch::Search::ORQuery isa L<KinoSearch::Search::PolyQuery> isa L<KinoSearch::Search::Query> isa L<KinoSearch::Object::Obj>.


=head1 COPYRIGHT AND LICENSE

Copyright 2005-2011 Marvin Humphrey

This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.

=cut