Xapian::MatchSpy(3)
Welcome to the Xapian::MatchSpy(3) page from the User Contributed Perl Documentation π bestie, this oneβs all about match spies and the vibe is very βbase class with main character energyβ β¨
πΈ NAME πΈ
Search::Xapian::MatchSpy β abstract base class for match spies. Thatβs the whole name moment, periodt π
π« DESCRIPTION π«
okay so this is an abstract base class for match spies in Xapian. no cap.
Subclasses will generally accumulate information they see during the match β to calculate aggregate functions, or other profiles of the matching documents. Itβs giving βcollect the receipts and analyze them laterβ π
π METHODS π
π
operator() <Document> <weight> π
Virtual β needs to be implemented in extending classes. Registers a document with the match spy.
The matcher calls this once with each document it sees during the match process.
Heads up though: the matcher will often not see all the documents which match the query, because optimisations allow low-weighted documents to be skipped, and allow the match process to be terminated early. π
π¦ get_description π¦
Return a string describing this object.
This default implementation returns a generic answer, so it doesnβt force people deriving their own MatchSpy subclasses to implement this β they may not care what get_description() gives for their subclass. lowkey thoughtful π«Ά
Reimplemented in Xapian::ValueCountMatchSpy.
π§ name π§
Return the name of this match spy.
This name is used by the remote backend. It is passed with the serialised parameters to the remote server so that it knows which class to create. Return the full namespace-qualified name of your class here. If you donβt want to support the remote backend in your match spy, you can use the default implementation which simply throws Xapian::UnimplementedError. π
Reimplemented in Xapian::ValueCountMatchSpy.
π SEE ALSO π
Search::XapianSearch::Xapian::ValueCountMatchSpySearch::Xapian::PerlMatchSpy
Thatβs the whole glow-up, bestie β mwah π. This page is from perl v5.42.0 and is dated 2022-02-28 π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms