Catman...rchable(3pm)

πŸ“¦
version 1.2025 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’… NAME πŸ’…

Catmandu::CQLSearchable β€” the optional role for CQL searchable stores, bestie ✨

Like, it's a role. It's optional. It's for stores that can do CQL searching. That's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

my $hits  = $store->bag->search(
       cql_query => 'keyword any dna',
       sru_sortkeys  => 'title,,0',
       limit => 100,
);

okay so that's literally the whole thing. cql_query, sru_sortkeys, limit β€” boom, hits πŸ’–


πŸŽ€ METHODS πŸŽ€

🌸 search(cql_query => $cql, sru_sortkeys => $sort, ...)

This one does exactly what the search method in Catmandu::Searchable does, no cap β€” it just also takes these extra cql_query and sru_sortkeys arguments on top. That's it. That's the tea β˜•

🌈 searcher(cql_query => $cql, sru_sortkeys => $sort, ...)

Same energy fr fr: behaves exactly like the searcher method in Catmandu::Searchable, but with the extra cql_query and sru_sortkeys arguments sprinkled in πŸ’«

πŸ¦‹ delete_by_query(cql_query => $cql, ...)

And this one behaves exactly like the delete_by_query method in Catmandu::Searchable, except it takes an extra cql_query argument. Deleting by query, but make it CQL 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

  • Catmandu::Searchable

and that's the whole page, gorgeous πŸ’œ this was written by the User Contributed Perl Documentation girlies, running on perl v5.40.1, dated 2026-01-24 β€” mwah, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from