Solr.pm untested

filter: Statementstmt 0.0% 0 / 1 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 1 SCAR -
1 package Catmandu::Solr;
2  
3 # ABSTRACT: Catmandu modules for working with solr endpoints
4 our $VERSION = "0.0304";
5  
6 =head1 NAME
7  
8 Catmandu::Solr - Catmandu modules for working with solr endpoints
9  
10 =head1 SYNOPSIS
11  
12 # From the command line
13  
14 # Import data into Solr
15 $ catmandu import JSON to Solr < data.json
16  
17 # Export data from ElasticSearch
18 $ catmandu export Solr to JSON > data.json
19  
20 # Export only one record
21 $ catmandu export Solr --id 1234
22  
23 # Export using an Solr query
24 $ catmandu export Solr --query "name:Recruitment OR name:college"
25  
26 # Export using a CQL query (needs a CQL mapping)
27 $ catmandu export Solr --q "name any college"
28  
29 =head1 AUTHOR
30  
31 Nicolas Steenlant, C<< nicolas.steenlant at ugent.be >>
32  
33 Patrick Hochstenbach, C<< patrick.hochstenbach at ugent.be >>
34  
35 Nicolas Franck, C<< nicolas.franck at ugent.be >>
36  
37 =head1 SYNOPSIS
38  
39 For documentation on these fixes see:
40  
41 L<Catmandu::Store::Solr>
42  
43 L<Catmandu::Importer::Solr>
44  
45 =head1 SEE ALSO
46  
47 L<Catmandu::Store>
48  
49 L<Catmandu>
50  
51 =head1 LICENSE AND COPYRIGHT
52  
53 This program is free software; you can redistribute it and/or modify it
54 under the terms of either: the GNU General Public License as published
55 by the Free Software Foundation; or the Artistic License.
56  
57 See L<http://dev.perl.org/licenses/> for more information.
58  
59 =cut
60  
61 1;