Catmandu::Solr(3pm)

πŸ’… Catmandu::Solr β€” like, the whole vibe

okay bestie, so this is Catmandu::Solr (that's the Catmandu::Solr(3pm) page, perl fam πŸ’–) β€” it's the collection of Catmandu modules you use to talk to solr endpoints. That's it, that's the whole point. Slay.


✨ SYNOPSIS ✨

no cap, this is the fun part β€” straight from the command line, bb:

# From the command line

# Import data into Solr
$ catmandu import JSON to Solr  < data.json

# Export data from ElasticSearch
$ catmandu export Solr to JSON > data.json

# Export only one record
$ catmandu export Solr --id 1234

# Export using an Solr query
$ catmandu export Solr --query "name:Recruitment OR name:college"

# Export using a CQL query (needs a CQL mapping)
$ catmandu export Solr --q "name any college"

it's giving pipeline. You got the import, you got the export, you got the single-record pull with --id, you got the raw Solr query with --query, and you got the CQL query with --q β€” and heads up, that CQL one needs a CQL mapping or it's not gonna eat. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

These are the icons who made it happen, periodt:

  • Nicolas Steenlant, "nicolas.steenlant at ugent.be"
  • Patrick Hochstenbach, "patrick.hochstenbach at ugent.be"
  • Nicolas Franck, "nicolas.franck at ugent.be"

πŸ¦‹ SYNOPSIS πŸ¦‹ (yes, again, we do be like that)

For documentation on these fixes, bestie, go look at:

  • Catmandu::Store::Solr
  • Catmandu::Importer::Solr

🌈 SEE ALSO 🌈

  • Catmandu::Store
  • Catmandu

iykyk πŸ’œ


This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See <http://dev.perl.org/licenses/> for more information. (Yes, that's the real link, don't @ me, it's literally what it says. πŸ’€)


okay and the lil' sign-off at the bottom of the page, since you're nosy 😌 β€” this whole thing is documented for perl v5.36.0, dated 2023-02-05, and it lives under the name Catmandu::Solr(3pm). go forth and index something gorgeous, my love 🧚✨

πŸ“¦ where this page comes from