summaryrefslogtreecommitdiff
path: root/lib/Net
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/Net/Riak/Search.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Net/Riak/Search.pm b/lib/Net/Riak/Search.pm
index a6282de..ee2ed57 100644
--- a/lib/Net/Riak/Search.pm
+++ b/lib/Net/Riak/Search.pm
@@ -1,4 +1,5 @@
-package Net::Riak::Search;
+package
+Net::Riak::Search;
use Moose;
#ABSTRACT: Search interface
@@ -18,7 +19,6 @@ sub setup_indexing {
1;
-
=head1 SYNOPSIS
my $client = Net::Riak->new(...);
@@ -45,8 +45,8 @@ L<Net::Riak::Search> allows you to enable indexing documents for a given bucket
Does the same as :
- curl -X PUT -H "content-type:application/json" http://localhost:8098/riak/bucket_name -d '{"props":{"precommit":[{"mod":"riak_search_kv_hook","fun":"precommit"}]}'
-
+ curl -X PUT -H "content-type:application/json" http://localhost:8098/riak/bucket_name -d '{"props":{"precommit":[{"mod":"riak_search_kv_hook","fun":"precommit"}]}'
+
but takes in account previouses precommits.
=head3 search
@@ -82,4 +82,4 @@ is the number of documents you want to be returned in the response
=back
-More parameters are available, just check at L<http://wiki.basho.com/Riak-Search---Querying.html#Querying-via-the-Solr-Interface> \ No newline at end of file
+More parameters are available, just check at L<http://wiki.basho.com/Riak-Search---Querying.html#Querying-via-the-Solr-Interface>