Catman...r::CQL(3pm)
π Catmandu::Store::Solr::CQL β the manual, but make it slay π
okay bestie, so this is the page for Catman...r::CQL(3pm), filed under User Contributed Perl Documentation β and it's literally the little glow-up machine that takes your CQL query string and turns it into a Solr query string. no cap. let's get into it π¦
β¨ NAME β¨
Catmandu::Store::Solr::CQL β she converts a CQL query string into a Solr query string. that's the whole vibe. π
πΈ SYNOPSIS πΈ
like, this is the moment:
$solr_query_string = Catmandu::Store::Solr::CQL->parse($cql_query_string);
one line. one call. iconic. β¨
π DESCRIPTION π
so rn this package parses most of CQL 1.1, and here's the full guest list of everything it currently handles β every single one, no gatekeeping:
and
or
not
prox
prox/distance<$n
srw.allRecords
srw.serverChoice
srw.anywhere
cql.allRecords
cql.serverChoice
cql.anywhere
=
scr
=/fuzzy
scr/fuzzy
<
>
<=
>=
<>
exact
all
any
within
that's it, that's the list, and yes it's giving "most of CQL 1.1" and not "all of it" β read the TODO if you wanna know what's still missing π
π§ METHODS π§
π parse
she parses the CQL query string you hand her using CQL::Parser, then converts it into a Solr query string. glow-up complete. π
π visit
she converts the given CQL::Node into a Solr query string. same energy, different entry point. β¨
π TODO π
the "we'll get to it bestie" list, fr fr:
- support cql 1.2
- more modifiers (esp. masked)
sortByencloses
manifesting these for a future release π
π₯ SEE ALSO π₯
CQL::Parser. π
and that's the whole page, bestie β thanks for reading, ily π«Ά
this was perl v5.36.0, dated 2023-02-05, and it lives under Catman...r::CQL(3pm). periodt. π
π¦ where this page comes from
- debian bookworm: libcatmandu-solr-perl 0.0304-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcatmandu-solr-perl 0.0304-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcatmandu-solr-perl 0.0304-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatmandu-solr-perl 0.0304-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-solr-perl 0.0304-2 Β· 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