Catmandu::Importer::Solr(3pm)

Catmandu::Importer::Solr3pm

Catmandu module to import data from a solr endpoint

Usage

    # From the command line
    $ catmandu convert Solr --url "http://localhost:8983/solr" --query "type:book"
    # From perl
    use Catmandu;
    my %attrs = (
        url => "http://localhost:8983/solr",
        query => 'type:book',
        bag_field => '_bag',
        id_field => '_id'
    );
    my $importer = Catmandu->importer('Solr',%attrs);
    $importer->each(sub {
            my $row_hash = shift;
            ...
    });

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

Author

Nicolas Franck, "nicolas.franck at ugent.be"

From libcatmandu-solr-perl 0.0304-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.