NAME

Catmandu::Importer::Solr - Catmandu module to import data from a Solr endpoint

SYNOPSIS

    use Catmandu::Importer::Solr;

    my %attrs = (
        url => "http://localhost:8983/solr",
        query => 'type:book'
    );

    my $importer = Catmandu::Importer::Solr->new(%attrs);

    $importer->each(sub {
	    my $row_hash = shift;
	    ...
    });


    # or

    $ catmandu convert Solr --url "http://localhost:8983/solr" --query "type:book"

AUTHOR

Nicolas Franck, nicolas.franck at ugent.be

SEE ALSO

Catmandu, Catmandu::Importer , Catmandu::Store::Solr