chris at chowie.net
Wed Oct 24 04:01:06 EDT 2012
I'm after some newbie help with ripple. I've created secondary indexes on a
property in my document class and have confirmed that I can query the index
via the browser. I've also confirmed the indexes are there as
"type_bin", "foo") works and returns the keys of the documents.
My document class is extremely simple:
property :type, String
index :type, String
However, when I try Test::Riak::Data.find_by_index(:type, "foo") I get
No index has been defined for property 'type' of type 'Test::Riak::Data'.
I'm probably doing something wrong but I'm not sure what. Any help would be
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users