1KinoSearch1::Search::QuUesreyr(3C)ontributed Perl DocumeKnitnaotSieoanrch1::Search::Query(3)
2
3
4
6 KinoSearch1::Search::Query - base class for search queries
7
9 # abstract base class
10
12 Base class for queries to be performed against an invindex. TermQuery
13 is one example.
14
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
29 See KinoSearch1 version 1.01.
30
31
32
33perl v5.30.1 2020-01-30 KinoSearch1::Search::Query(3)