diff options
| author | gmaurice <germain.maurice@linkfluence.net> | 2011-07-02 00:03:55 +0200 |
|---|---|---|
| committer | gmaurice <germain.maurice@linkfluence.net> | 2011-07-02 00:03:55 +0200 |
| commit | ade1fc13ec613d2318a9c3517bc40837d99f4d99 (patch) | |
| tree | 1daaa82661749d7c0b03233a8b487a8a9e474aaa /lib/Net/Riak/Search.pm | |
| parent | remove index param from being added to query params (diff) | |
| download | net-riak-ade1fc13ec613d2318a9c3517bc40837d99f4d99.tar.gz | |
allow to setup indexing on a bucket via precommit
add tests for riaksearch
Diffstat (limited to '')
| -rw-r--r-- | lib/Net/Riak/Search.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Net/Riak/Search.pm b/lib/Net/Riak/Search.pm index ac9f059..8cf42b7 100644 --- a/lib/Net/Riak/Search.pm +++ b/lib/Net/Riak/Search.pm @@ -1,7 +1,5 @@ package Net::Riak::Search; -# ABSTRACT: the riaklink object represents a link from one Riak object to another - use Moose; with 'Net::Riak::Role::Base' => {classes => @@ -12,4 +10,9 @@ sub search { $self->client->search($params); }; +sub setup_indexing { + my ($self, $bucket) = @_; + $self->client->setup_indexing($bucket); +}; + 1; |
