Searching using Ripple

Sean Cribbs sean at basho.com
Sat Apr 30 17:03:18 EDT 2011


Jesse,

If you've got Riak Search, you'll have to install a schema and the precommit hook for the bucket.  Note that search support is not a feature of Ripple yet, but is slated for the 1.0 release.

Sean Cribbs <sean at basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On Apr 30, 2011, at 1:41 PM, Jesse Zamora wrote:

> Hello,
> 
> I'd like to search for an account based on email using Ripple. See my model account_model.rb:
> 
> class Account
>   include Ripple::Document
>   
>   property :name, String, :presence => true
>   property :email, String, :presence => true
>   property :phone, String, :presence => true
>   property :address, String, :presence => true
>   property :type, Integer, :presence => true
>   property :active, Boolean, :default => true, :presence => true
>   
>   timestamps!
> end
> 
> So essentially, is there any way to search for accounts based on the :email using Ripple? 
> 
> Thanks,
> Jesse L. Zamora
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




More information about the riak-users mailing list