Riak Search Issue

Eric Redmond eredmond at basho.com
Mon Aug 18 17:33:06 EDT 2014


I was mistaken about the bucket search. The documentation is wrong, and the API is weirded for backward compatibility reasons. You should be able to search by index name this way.

client.fulltext_search(index, query, **params)

We'll update the docs to match.


On Aug 18, 2014, at 2:29 PM, Alex De la rosa <alex.rosa.box at gmail.com> wrote:

> Hi Sean,
> Yeah, I opted to follow that pattern on my latest attempt as I see it more clear that the way in the documentation. Still same issue although with Eric we saw it works fine when index and bucket has the same name.
> Thanks!
> Alex
> On Mon, Aug 18, 2014 at 11:27 PM, Sean Cribbs <sean at basho.com> wrote:
> Don't use bucket with 2 arguments, use
> client.bucket_type('futbolistas').bucket('fcb'). This makes your
> intent more clear. The 2-arity version of bucket() was for
> backwards-compatibility.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140818/1c4406ee/attachment.html>

More information about the riak-users mailing list