KinoSe...mQuery(3pm)
π KinoSearch1::Search::TermQuery β match individual Terms π
okay bestie, so this is <rainbow>KinoSearch1::Search::TermQuery</rainbow>, from the User Contributed Perl Documentation corner of the 3pm section, and it is exactly what it says on the tin: it hunts down individual Terms. no cap. π
β¨ SYNOPSIS β¨
my $term = KinoSearch1::Index::Term->new( $field, $term_text );
my $term_query = KinoSearch1::Search::TermQuery->new(
term => $term,
);
my $hits = $searcher->search( query => $term_query );
like. look at her. build a Term, wrap it in a TermQuery, yeet it at the searcher, get $hits back. slay. π
πΈ DESCRIPTION πΈ
So TermQuery is a subclass of KinoSearch1::Search::Query, and its whole entire job β its main character purpose, if you will β is matching individual Terms. π¦
And here's the lowkey important bit, babes: Term objects are associated with one and only one field. So therefore, by extension, so are TermQuery objects. one term, one field, periodt. π
π«Ά METHODS π«Ά
π new
my $term_query = KinoSearch1::Search::TermQuery->new(
term => $term,
);
Constructor, bestie! she's giving β¨builder energyβ¨. Takes hash-style parameters:
termβ aKinoSearch1::Index::Term. that's the whole vibe. that's the term you're querying with. π
π COPYRIGHT
Copyright 2005-2010 Marvin Humphrey π
π LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch1 version 1.01. (go read that one, bestie, it's got the whole legal tea π«)
and that's a wrap, gorgeous π this was KinoSearch1::Search::TermQuery, documented under perl v5.42.3, dated 2026-08-20, and you absolutely ate that. mwah πβ¨π
π¦ where this page comes from
- ubuntu stonking: libkinosearch1-perl 1.01-6build2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms