Plucen...xQuery(3pm)

πŸ“¦
version 1.25 Β· 2 versions
  • 1.25 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.25 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Plucene::Search::TermQuery β€” bestie edition πŸ’–

okay so this is the manual page for Plucene::Search::TermQuery, and it lives in section 3pm of the User Contributed Perl Documentation. Yes, the header literally reads Plucen...xQuery(3pm) because apparently nobody could be bothered to spell it out β€” iconic behaviour honestly. πŸŽ€


✨ NAME ✨

Plucene::Search::TermQuery β€” a query that matches terms beginning with a string πŸ¦‹


🌸 SYNOPSIS 🌸

# isa Plucene::Search::Query

$prefix_query->normalize($norm);

my       $ssw = $prefix_query->sum_squared_weights($searcher);
my $as_string = $prefix_query->to_string($field);

not the weird spacing in that third line, I'm keeping it exactly as it is, no cap πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

A query that matches a document containing terms beginning with the given string. That's it, that's the whole vibe. It's giving prefix-matching main character energy. πŸ”₯

🌈 to_string 🌈

$q->to_string

Convert the query to a readable string format. Literally just makes it look pretty so your eyeballs can parse it. ✨

πŸŽ€ sum_squared_weights πŸŽ€

The sum sqaured weights of the query.

yes, "sqaured" β€” that's how it's spelled in the original, and I am NOT fixing it, that's the author's little typo and it's staying, periodt πŸ™ˆ

πŸ¦‹ normalize πŸ¦‹

Normalize the query.


And that's the whole page bestie, we ate and left no crumbs πŸ‘‘

This one's from perl v5.36.0, dated 2022-12-04 β€” so go forth, match your prefix terms, and slay πŸ’–πŸ«ΆπŸŒΈ

πŸ“¦ where this page comes from