summaryrefslogtreecommitdiff
path: root/lib/Net/Riak/Search.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net/Riak/Search.pm')
-rw-r--r--lib/Net/Riak/Search.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Net/Riak/Search.pm b/lib/Net/Riak/Search.pm
index 368b7e7..c31516f 100644
--- a/lib/Net/Riak/Search.pm
+++ b/lib/Net/Riak/Search.pm
@@ -1,5 +1,4 @@
-package
-Net::Riak::Search;
+package Net::Riak::Search;
use Moose;
#ABSTRACT: Search interface
@@ -37,9 +36,9 @@ sub setup_indexing {
my $obj3 = $bucket->new_object('foo3', {...});
$obj3->add_index('index', 'first');
$obj3->store;
-
+
my @keys = $client->index('bucket', 'myindex_bin', 'first_value' [, 'last_value'] );
-
+
=head1 DESCRIPTION
L<Net::Riak::Search> allows you to enable indexing documents for a given bucket and querying/searching the index.
@@ -98,7 +97,7 @@ remove secondary index from object
=item index
Find keys via secondary index.
-
+
=back