KinoSe...hClient(3pm)
π KinoSearch1::Search::SearchClient β connect to a remote SearchServer π
okay so bestie, quick heads up before we even get into it: this is KinoSearch1::Search::SearchClient, from the User Contributed Perl Documentation, and it's giving "let me call a whole other computer and ask it to search stuff for me" energy. π¦
Also, ground rules: you're making a remote procedure call. And for every single call that does not close or terminate the socket connection, please expect a response back that's been serialized using Storable. That's just how it is, no cap. β¨
πΈ SYNOPSIS πΈ
my $client = KinoSearch1::Search::SearchClient->new(
peer_address => 'searchserver1:7890',
password => $pass,
analyzer => $analyzer,
);
my $hits = $client->search( query => $query );
look at that. three little params and suddenly you're searching an index on a whole different machine. main character behavior fr fr. π
β¨ DESCRIPTION β¨
SearchClient is a subclass of KinoSearch1::Searcher, and what it does β its whole thing, its moment β is let you search an index that lives on a remote machine, one that's been made accessible via SearchServer. π
So like. Local searcher? adorable. Remote searcher? iconic. π
π«Ά METHODS π«Ά
new
Constructor time!! π It takes hash-style params, so you pass it a list of key/value pairs like the good little Perl dev you are.
peer_addressβ the name or IP plus the port number that the client should attempt to connect to. that's your "where's my search server at" address. πpasswordβ the password to be supplied to theSearchServerwhen initializing the socket connection. yes you gotta knock first. πanalyzerβ an object belonging to a subclass ofKinoSearch1::Analysis::Analyzer. bring your own analyzer, babe. π§
π LIMITATIONS π
okay so this is the sad part, sit down. π
Limiting search results with a QueryFilter is not yet supported. that's it. that's the whole limitation. we wait. π
π COPYRIGHT π
Copyright 2006-2010 Marvin Humphrey
π LICENSE, DISCLAIMER, BUGS, etc. π
See KinoSearch1 version 1.01.
ngl, "see version 1.01" is the manpage equivalent of "it's in the group chat, scroll up." π
mwah π that was written up against perl v5.42.3, dated 2026-08-20, and it's the page for KinoSe...hClient(3pm) (yes the title got truncated by the formatter, that's just how the manpage colonizers do it, we still love her). byeee, go search something remotely, you got this π«Άβ¨
π¦ 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