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

=head1 NAME

KinoSearch::Search::ANDQuery - Intersect 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_and_bar_query = KinoSearch::Search::ANDQuery->new(
        children => [ $foo_query, $bar_query ],
    );
    my $hits = $searcher->hits( query => $foo_and_bar_query );
    ...



=head1 DESCRIPTION

ANDQuery is a composite L<Query|KinoSearch::Search::Query> which matches
only when all of its children match, so its result set is the intersection
of their result sets.  Documents which match receive a summed score.

=head1 CONSTRUCTORS

=head2 new( I<[labeled params]> )

    my $foo_and_bar_query = KinoSearch::Search::ANDQuery->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::ANDQuery 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