1KinoSearch1::Search::QuUesreyr(3C)ontributed Perl DocumeKnitnaotSieoanrch1::Search::Query(3)
2
3
4

NAME

6       KinoSearch1::Search::Query - base class for search queries
7

SYNOPSIS

9           # abstract base class
10

DESCRIPTION

12       Base class for queries to be performed against an invindex.  TermQuery
13       is one example.
14

METHODS

16   set_boost get_boost
17           $term_query_a->set_boost(2);
18           $boolean_query->add_clause( query => $term_query_a, occur => 'SHOULD' );
19           $boolean_query->add_clause( query => $term_query_b, occur => 'SHOULD' );
20
21       The boost of any Query is 1.0 by default. Setting boost to a number
22       greater than one increases a Query's relative contribution to a score,
23       and setting boost to a lower number decreases the contribution.
24
26       Copyright 2005-2010 Marvin Humphrey
27

LICENSE, DISCLAIMER, BUGS, etc.

29       See KinoSearch1 version 1.00.
30
31
32
33perl v5.12.2                      2010-10-05     KinoSearch1::Search::Query(3)
Impressum