KinoSe...:Query(3pm)

πŸ’– NAME πŸ’–

KinoSearch1::Search::Query β€” the base class for search queries, bestie. It's giving "blueprint energy" πŸ‘‘


✨ SYNOPSIS ✨

# abstract base class

That's it. That's the whole vibe. It's abstract, she doesn't do anything by herself 😭


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: this is the base class for queries you run against an invindex. Think of it like the mother of all query types β€” she stays home and lets the babies do the actual work 🌸

TermQuery is one example. Iconic of her, honestly.


πŸ‘‘ METHODS πŸ‘‘

πŸ’… set_boost get_boost

$term_query_a->set_boost(2);
$boolean_query->add_clause( query => $term_query_a, occur => 'SHOULD' );
$boolean_query->add_clause( query => $term_query_b, occur => 'SHOULD' );

So the boost of any Query is 1.0 by default β€” that's the factory setting, no cap, that's just where she starts πŸŽ€

If you set the boost to a number greater than one, you're hyping that Query up and increasing her relative contribution to a score πŸ”₯ And if you set it to a lower number, you're lowkey dimming her β€” the contribution goes down. Periodt. That's the whole mechanic πŸ’―


Copyright 2005-2010 Marvin Humphrey


🧚 LICENSE, DISCLAIMER, BUGS, etc. 🧚

See KinoSearch1 version 1.01.


fr fr that's the whole page, no crumbs left behind 🫢

and that's a wrap, bestie πŸ’œ this was served up from perl v5.42.3, dated 2026-08-20 β€” go slay some queries, mwah πŸ’‹

πŸ“¦ where this page comes from